lilyp...@googlecode.com writes: > Comment #14 on issue 687 by chicagogrooves: Enhancement: inequal MIDI > quantization of equal durations (swing, rubato) > http://code.google.com/p/lilypond/issues/detail?id=687 > > Here is a prototype scheme-based implementation which works for > streams of notes/rests which are quarter-note length or less: > > http://music.chicagogrooves.com/lilypond-swing-dev.zip > > A couple of things I wish I had when doing this: > > 1. A way to simply add to the duration of a note - instead of needing > call ly:compress-music with some clever ratio - I just want to add or > subtract 1/6 of a quarter note and be done with it
Doesn't the function ly:moment-add a b do that for you? > 2. A way of iterating which tells me not just the duration of the > current event, but the amount of time in moments since the > beginning. ly:context-current-moment maybe? > 3. An understanding of why I need (begin ) blocks and what they do.. They execute all inner forms in sequence, and are just a single form on the outside. The Lisp equivalent would be (progn ...). > 4. A REPL for testing out scheme stuff lilypond -e '(top-repl)' -- David Kastrup _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond