> From: David Kastrup <d...@gnu.org>
> James Harkins <jamshar...@gmail.com> writes:
> 
> > Is there a way to scale the durations of a passage of music, say, by a
> > factor of 2, so that not only do the notes take twice as much time,
> > but the displayed note values are also doubled?
> >
> > \scaleDurations does only the former, but not the latter.
> >
> > I'm finally sitting down to typeset a couple of mensural canons that I
> > wrote some years ago, and I was hoping to enter the part that is
> > imitated just once, in a variable, and then do something like:
> >
> > \scaleDurations #'(2 . 1) { \firstHalf }
> 
> \shiftDurations #1 #0 \firstHalf

That was it, thanks -- except I needed \shiftDurations #-1 #0 to augment 
instead of diminish.

The result is attached, should anyone care for a little amusement.

Thanks!
James


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

Attachment: canonic-study-1.ly
Description: Binary data

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to