bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 687 in lilypond: Enhancement: inequal MIDI quantization of equ


From: David Kastrup
Subject: Re: Issue 687 in lilypond: Enhancement: inequal MIDI quantization of equal durations (swing, rubato)
Date: Mon, 09 Aug 2010 10:10:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]