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

2009-11-23 Thread Alexander Kobel
Correction: Murphy's law. Still looks okay to me, but (sigh!) just the error message for ill-formed duration strings missed the "not" in "not a valid duration". Cheers, Alexander %% applyRhythm %% %% 2009, Alexander Kobel (www.a

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

2009-11-23 Thread Alexander Kobel
Kieren MacMillan wrote: Hi Alexander, It's certainly easier for this special case, but the applyRhythm as is gives far more freedom than your example. If you have a rhythm like "4 4 8 8 4" in several voices, you can just say rhythmA = "4 4 8 8 4" sop = \applyRhythm #rhythmA { c d e f g | g

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

2009-11-23 Thread Kieren MacMillan
Hi Alexander, It's certainly easier for this special case, but the applyRhythm as is gives far more freedom than your example. If you have a rhythm like "4 4 8 8 4" in several voices, you can just say rhythmA = "4 4 8 8 4" sop = \applyRhythm #rhythmA { c d e f g | g f e d c } alt = \ap

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

2009-11-23 Thread Alexander Kobel
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. ;) Well, that's not my fault... :-) Really, everything but the str

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

2009-11-23 Thread Kieren MacMillan
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 snipp

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

2009-11-23 Thread Kieren MacMillan
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

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

2009-11-23 Thread Alexander Kobel
Kieren MacMillan wrote: Hi all, I'm engraving a song for voice and piano — the voice is swung (dotted eighth plus sixteenth) while the piano is playing triplets. I would like to [at least see what it looks like if I] set it so that the dotted sixteenth in the voice lines up visually/vertical