lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 687 in lilypond: Enhancement: inequal MIDI qua


From: lilypond
Subject: Re: [Lilypond-auto] Issue 687 in lilypond: Enhancement: inequal MIDI quantization of equal durations (swing, rubato)
Date: Sun, 28 Oct 2012 23:06:54 +0000


Comment #29 on issue 687 by address@hidden: Enhancement: inequal MIDI quantization of equal durations (swing, rubato)
http://code.google.com/p/lilypond/issues/detail?id=687

FWIW, these days I had a look at chicagogrooves' and Arvid's swing.ly, found it needed updating for LilyPond 2.16 due to the EventChord change and some adaptation and generalisation for my use case, and more or less accidentally ended up rewriting everything. Find my version attached, as well as a test/example file.

With this version, you can can create triplet feel swing like this:

   \tripletFeel 8 { c'8 c' c' c' }    % swung eighths
   \tripletFeel 16 { c'16 c' c' c' }  % swung sixteenths

but also more general swing patterns, for example more pronounced lengthening/shortening

   \applySwing 8 #'(3 1) { c'8 c' c' c' }
   % interpreted like { c'8. c'16 c'8. c'16 }
   % \tripletFeel 8 ... is equivalent to \applySwing 8 #'(2 1) ...

or the samba swing mentioned in comment #1 by adam.spiers:

   \applySwing 16 #'(3 2 2 3) { c'16 c' c' c' }
   \applySwing 16 #'(4 3 3 4) { c'16 c' c' c' }

See source comments, function docstrings and the example file for more information.

Attachments:
        swing.scm  13.8 KB
        swingtest.ly  3.5 KB




reply via email to

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