lilypond-user
[Top][All Lists]
Advanced

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

Re: hack spacing of triplet against swung 8.+16


From: Kieren MacMillan
Subject: Re: hack spacing of triplet against swung 8.+16
Date: Mon, 23 Nov 2009 14:00:09 -0500

p.s. I meant

applyRhythm = #(define-music-function (parser location rhythmA rhythmB music)
  …

On 2009-Nov-23, at 13:58, Kieren MacMillan wrote:

Hi Alexander,

I just took your question as a motivation to finally add the functionality for *num/den suffixes in the following rhythm snippet.

This is fabulous… and *way* more than I was expecting.  ;)

@ all:
The string->duration routine certainly is not production-stage or well tested

Wouldn't the whole implementation be a lot easier as something like

applyRhythm = #(define-music-function (parser location rhythm music)
    (ly:music? ly:music? ly:music?)
    …

  inegale = #(define-music-function (parser location music)
    (ly:music?)
    #{ \applyRhythm s8. s16 $music #})

i.e., use music(s) instead of strings to define the "rhythm pair", so you don't have to deal with duration parsing/transformation?

Cheers (and thanks),
Kieren.





reply via email to

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