[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 687 in lilypond: Enhancement: inequal MIDI quantization of equ
Re: Issue 687 in lilypond: Enhancement: inequal MIDI quantization of equal durations (swing, rubato)
Mon, 09 Aug 2010 10:10:15 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
> Comment #14 on issue 687 by chicagogrooves: Enhancement: inequal MIDI
> quantization of equal durations (swing, rubato)
> Here is a prototype scheme-based implementation which works for
> streams of notes/rests which are quarter-note length or less:
> 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
> 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)'