On Wed, 2016-04-27 at 13:02 +0200, David Kastrup wrote: > Graham King <graham.k...@tremagi.org.uk> writes: > > > perhaps try: > > \scaleDurations 2/1 { \cC } > > Doesn't change the visuals. >
Sorry. More haste, less speed. I meant \shiftDurations. It might require other things to be adjusted too: \time is given as an example here. This code was developed some years ago, so there might be better ways of doing it now. \version "2.19.40" music = { c'4 4 4 4 } { \time 4/4 \music } #(define RF 1) % 1 to double note values, 2 for unchanged, 4 for halved, etc. { \shiftDurations #(rationalize (inexact->exact (- (/ (log RF) (log 2)) 1)) 1/10) #0 { \time #(cons 4 (* RF 2)) \music } }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user