|
From: | Kieren MacMillan |
Subject: | Re: can lyric spacing be overridden by note spacing? |
Date: | Wed, 24 Jun 2009 19:10:12 -0400 |
Hi Mats,
In the (first measure of the) example I gave, I kind of did the following:1. Divide the "span" into "spacable sections" -- here, two half-notes.2. Determine the width of each "spaceable section" by the total "natural" width of the lyrics within the section.3. Evenly spread the notes across each "spaceable section".4. Place the lyrics under each "spaceable section", with the first syllable left-aligned on the first note and the last syllable right- aligned on the last note.
Actually, the algorithm was probably more like: 1. Divide the "span" into "spacable sections" (here, two half-notes).2. Determine the width of each "spaceable section" by the total "natural" width of the lyrics within the section. 3. Place the lyrics under each "spaceable section", with the first syllable left-aligned on the first note and the last syllable right- aligned on the last note. 4. Distribute the notes within each "spaceable section" according to duration (i.e., "proportionally").
This *may* be accomplishable by a Scheme function... I'm attempting some tests.
Cheers, Kieren.
[Prev in Thread] | Current Thread | [Next in Thread] |