hello Orm, Trevor... Sorry I have not been helping here. I had not checked my lilypond mail for weeks! Thankfully we have Trevor, the sponsor of proportional notation! So, coincidentally, I just finished a piece for flute where I do *exactly* the same thing Orm is trying to do: align a lilypond score with some other graph above. My alignment came out almost perfect. There are a couple of places where the score is just slightly off and I'm not sure why this is, but you can barely notice it.
Trevor has pointed out the main elements to adjust for strict proportional notation: 1. \set proportionalNotationDuration = #(ly:make-moment n d) (in the Score) 2. \override SpacingSpanner #'uniform-stretching = ##t (in the Score) 3. \override PaperColumn #'used = ##t (in the Score) 4. \remove Separating_line_group_engraver (in the Staff) 5. \override SpacingSpanner #'strict-note-spacing = ##t (in the Score) Out of these I only used no. 1,2 and 5. Staffs in my score do have Separating_line_group_engraver, and I didn't know about PaperColumn. So are these two strictly necessary? In what cases would they be? Could removing Separating_line_group_engraver have unwanted secondary consequences... this creates the StaffSpacing grob correct? Not sure I understand what PaperColumn #'used does... I will try applying numbers 3 and 4 to my score and see what happens. (and will be checking my email more often :| ) Trevor, I'm happy to help put together a tutorial on proportional notation and temporal spacing issues in general. Victor. On Tue, 5 Dec 2006 09:44:15 -0600, "Trevor Bača" <[EMAIL PROTECTED]> said: > On 12/5/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > > Trevor Bača escreveu: > > > \relative c' { > > > \override Score.SpacingSpanner #'uniform-stretching = ##t > > > \set Score.proportionalNotationDuration = #(ly:make-moment 8 50) > > > \override Score.PaperColumn #'used = ##t > > > \time 4/4 r1 % BUG? Measure is way too short, apparently > > > because of following music > > > \time 3/8 r4. > > > \time 5/4 r1 r4 > > > \time 5/16 r4 r16 > > > \time 5/8 s2 s8 > > > \time 5/8 r2 r8 > > > } > > > } > > > } > > > > > > > > So what's going on here? Why does more music on the line in example 1 > > > score 1 cause Lily to scrunch up the very first measure?? > > > > The measure length bounds the spacing (think of what would happen for a > > R1*33 without this). > > However, the length used was the 3/8 rather than 4/4. Fixed in GIT. > > Awesome. > > Note to Orm then that we should remember to try the sample score > example on 2.11.2 when it releases. > > -- > Trevor Bača > [EMAIL PROTECTED] -- V!ctor [EMAIL PROTECTED] [EMAIL PROTECTED] -- http://www.fastmail.fm - Does exactly what it says on the tin _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user