lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rhythm shift


From: Gianmaria Lari
Subject: Re: rhythm shift
Date: Sat, 26 Mar 2016 23:23:51 +0100

Very sorry David and Robert my example was not at all clear. 

I have a long lilypond source that is shifted of three sixteenth note (the file has been generated using the midi to lilypond conversion tool). Here it is a small fragment of it:

% \time 4/4
...
... d16 ~ | % 31
d8. d16 ~ d8 b'16 b16 ~ b16 b8 b16 ~ b16 b8 b16 ~ | % 32
b8 a16 g16 ~ g4 
...

I would like to know if does exist a tool able to convert it to the following source lilypond code:

... d4 | 
d8. b'16 b8 b8 b8 b8  b8. a16 |
g4. .... 

Thank you, g.

On Sat, Mar 26, 2016 at 8:11 AM, Robert Schmaus <address@hidden> wrote:
Hi Gianmaria,

In addition to the completion head engraver (David's mail), I'd pack the notes without shift in a variable, like

variable = { a2 b2 }

And use 

r4 \variable r4

or

r8 \variable r8 r4

Or whatever you'd like in the score. 
Just leave out the bar checks, they'll throw warnings ...

Best, Robert

______

The cure for a fallacious argument is a better argument, not the suppression of ideas.
-- Carl Sagan


On 26 Mar 2016, at 01:06, Gianmaria Lari <address@hidden> wrote:

Hello,
Is there any automatic tool to shift some lilypond music of a certain rhythm amount? For instance consider the following fragment:

\time 2/4
r4 a4 ~ |
a4 b4 ~|
b4 r4
....
 
How can I shift (convert) it to:

\time 2/4
a2 |
b2 |
r4 
....
 
Thank you, g.
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]