Comment #13 on issue 687 by chicagogrooves: Enhancement: inequal MIDI
quantization of equal durations (swing, rubato)
http://code.google.com/p/lilypond/issues/detail?id=687
+1 to your suggestion for a scheme variant, arvidgr, and for many other
great points.
We can combine this with adam.spiers' suggestions for playing slightly
in-front or behind the beat, and use a similar syntax, so that composition
of the two commands would be much easier, and more in control of the user.
\shift ly:make-moment(1,128) { \swing #2 #1 { c4. c8 c8 } }
For reference, the two expressions below are equivalent (though only the
former is valid lily syntax, the latter is to show how the numbers are
arrived at)
{ c4.*10/9 c8*2/3 c8*4/3 c8*2/3 }
{ c4. + 1/6 c8 - 1/6 c8 + 1/6 c8 - 1/6 }
I'd be really happy to start sharing swing functions with each other now
that an implementation technique seems available to mere mortal
programmers !
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond