Re: \grace after \cadenzaOff suppresses auto-beams
Le 06/03/2012 01:04, Colin Hall disait : [...] Have you isolated a bug here? I'm not sure about it but, thanks to the Scheme tutorial I just finished to translate I'm now not so blind: \displayMusic { c1 \cadenzaOn d1 e \cadenzaOff f1 } and it looks like the D and E don't belong to the list of elements attached to the right SequentialMusic. As I understand it, here are the steps: 1 open a sequence MAIN 1.1 play a C 1.2 open a sequence (the cadenza) 1.2.1 define its properties 1.2.1.1 no timing 1.2.1.2 no beaming 1.3 play a D 1.4 play a E 1.5 open a sequence 1.5.1 define its properties 1.5.1.1 activate timing 1.5.1.2 synchronize the clock 1.5.1.3 activate beaming 1.6 play a F and close MAIN I believe that, at least, steps 1.3 to 1.5 should be sub-parts of 1.2, thus not sure about step 1.5.1.2 Please correct me if I'm wrong. Cheers, Jean-Charles (make-music 'SequentialMusic 'elements (list (make-music 'NoteEvent 'duration (ly:make-duration 0 0 1 1) 'pitch (ly:make-pitch -1 0 0)) (make-music 'SequentialMusic 'elements (list (make-music 'ContextSpeccedMusic 'context-type 'Timing 'element (make-music 'PropertySet 'value #f 'symbol 'timing)) (make-music 'ContextSpeccedMusic 'context-type 'Timing 'element (make-music 'PropertySet 'value #f 'symbol 'autoBeaming (make-music 'NoteEvent 'duration (ly:make-duration 0 0 1 1) 'pitch (ly:make-pitch -1 1 0)) (make-music 'NoteEvent 'duration (ly:make-duration 0 0 1 1) 'pitch (ly:make-pitch -1 2 0)) (make-music 'SequentialMusic 'elements (list (make-music 'ContextSpeccedMusic 'context-type 'Timing 'element (make-music 'PropertySet 'value #t 'symbol 'timing)) (make-music 'ContextSpeccedMusic 'context-type 'Timing 'element (make-music 'PropertySet 'value (ly:make-moment 0 1 0 1) 'symbol 'measurePosition)) (make-music 'ContextSpeccedMusic 'context-type 'Timing 'element (make-music 'PropertySet 'value #t 'symbol 'autoBeaming (make-music 'NoteEvent 'duration (ly:make-duration 0 0 1 1) 'pitch (ly:make-pitch -1 3 0 ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \grace after \cadenzaOff suppresses auto-beams
Jean-Charles Malahieude lily...@orange.fr writes: Le 06/03/2012 01:04, Colin Hall disait : [...] Have you isolated a bug here? I'm not sure about it but, thanks to the Scheme tutorial I just finished to translate I'm now not so blind: \displayMusic { c1 \cadenzaOn d1 e \cadenzaOff f1 } and it looks like the D and E don't belong to the list of elements attached to the right SequentialMusic. As I understand it, here are the steps: 1 open a sequence MAIN 1.1 play a C 1.2 open a sequence (the cadenza) 1.2.1 define its properties 1.2.1.1 no timing 1.2.1.2 no beaming 1.3 play a D 1.4 play a E 1.5 open a sequence 1.5.1 define its properties 1.5.1.1 activate timing 1.5.1.2 synchronize the clock 1.5.1.3 activate beaming 1.6 play a F and close MAIN I believe that, at least, steps 1.3 to 1.5 should be sub-parts of 1.2, thus not sure about step 1.5.1.2 Please correct me if I'm wrong. 1.2 and 1.5 are just a convenient way of grouping several property setting events into one music identifier like \cadenzaOn. You could define cadenzaOn = { \set ... \set ... } also as cadenzaOn = \set ... \set ... The difference is that in the second form, the time of the events runs in parallel rather than in sequence, but since all events are instantaneous, that does not cause different results. -- David Kastrup ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \grace after \cadenzaOff suppresses auto-beams
And I just found a solution that works even better for me... %%% previous stuff \cadenzaOff \bar | \appoggiatura b4 \set Timing.measurePosition = #(ly:make-moment 0 4) %%% subsequent stuff ...by setting the measurePosition *after* the grace/appoggiatura and before the first beat of the measure, the beams remain intact and the warning disappears. Huzzah. But still strange if you consider the bar numbering (the same goes with your accidentals' problem): \relative c' { \override Score.BarNumber #'break-visibility = #'#(#t #t #t) \set Score.currentBarNumber = #11 \bar \time 2/4 c2 \cadenzaOn c2 d8-[ e \bar | f g-] \cadenzaOff \bar | \grace b8 \bar | a4. \bar | gis8 \bar | e'8 \bar | e \bar | e \bar | e } Cheers, Jean-Charles ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \grace after \cadenzaOff suppresses auto-beams
Colin Hall colingh...@gmail.com writes: On Mon, Mar 05, 2012 at 07:11:12PM +0100, Jean-Charles Malahieude wrote: And I just found a solution that works even better for me... %%% previous stuff \cadenzaOff \bar | \appoggiatura b4 \set Timing.measurePosition = #(ly:make-moment 0 4) %%% subsequent stuff ...by setting the measurePosition *after* the grace/appoggiatura and before the first beat of the measure, the beams remain intact and the warning disappears. Huzzah. But still strange if you consider the bar numbering (the same goes with your accidentals' problem): \relative c' { \override Score.BarNumber #'break-visibility = #'#(#t #t #t) \set Score.currentBarNumber = #11 \bar \time 2/4 c2 \cadenzaOn c2 d8-[ e \bar | f g-] \cadenzaOff \bar | \grace b8 \bar | a4. \bar | gis8 \bar | e'8 \bar | e \bar | e \bar | e } David, Jean-Charles, can you help me decide what to do with this discussion thread? Have you isolated a bug here? \cadenzaOff has design artifacts (various have been discussed here), and \grace timing (our old friend) exacerbates the symptoms. I don't think that it is worth filing a separate bug for the combination with \grace. Some of the recent examples involving \cadenza... might be worth filing an issue for redesign. It might be worth starting a collection of them. Basically it works as expected giving the implementation (and never did something else), but I actually have a hard time imagining even a single case where it would actually do what you'd want. -- David Kastrup ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \grace after \cadenzaOff suppresses auto-beams
David Bobroff wrote: This is weird. Maybe known. I tried to search the issues database but did not find anything. It's possible I don't know how to effectively search it. Here goes; in the following example the auto-beaming is still off following \cadenzaOff if a \grace (or \appoggiatura) follows immediately after \cadenzaOff. Auto-beaming returns if either the \grace is removed or there is a whole measure of timed music before the \grace. Adding \autoBeamOn does not help. Automatic beaming remains off. In fact, just entering \cadenzaOn \cadenzaOff will trigger this behavior even without any music in the cadenza. the issue seems to be known (although I didn't search where to find it) I saw this solution on the German Lilypond Forum - after the cadenza add a \partial of the due (measure) length (this gives a warning but it works): \cadenzaOff \bar | \partial 2 \grace b8 … or put the grace inside of the cadenza: \relative c' { \time 2/4 c2 \cadenzaOn c2 \teeny d8-[ e f g-] \normalsize \bar | \grace b8 \cadenzaOff \normalsize a4. gis8 e'8 e e e } hth Eluze -- View this message in context: http://old.nabble.com/%5Cgrace-after-%5CcadenzaOff-suppresses-auto-beams-tp33437479p33437558.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \grace after \cadenzaOff suppresses auto-beams
Hello, On 4 March 2012 09:48, -Eluze elu...@gmail.com wrote: David Bobroff wrote: This is weird. Maybe known. I tried to search the issues database but did not find anything. It's possible I don't know how to effectively search it. Here goes; in the following example the auto-beaming is still off following \cadenzaOff if a \grace (or \appoggiatura) follows immediately after \cadenzaOff. Auto-beaming returns if either the \grace is removed or there is a whole measure of timed music before the \grace. Adding \autoBeamOn does not help. Automatic beaming remains off. In fact, just entering \cadenzaOn \cadenzaOff will trigger this behavior even without any music in the cadenza. the issue seems to be known (although I didn't search where to find it) I saw this solution on the German Lilypond Forum - after the cadenza add a \partial of the due (measure) length (this gives a warning but it works): Probably because you are using \partial explicitly and not at the beginning of the music. If you use \set Timing.measurePosition = #(ly:make-moment -1 2) Does the warning go away? See http://lilypond.org/doc/v2.15/Documentation/notation-big-page#index-partial-measure -- -- James ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \grace after \cadenzaOff suppresses auto-beams
James-379 wrote: If you use \set Timing.measurePosition = #(ly:make-moment -1 2) Does the warning go away? it goes - but the notes after the cadenza are still unbeamed! Eluze -- View this message in context: http://old.nabble.com/%5Cgrace-after-%5CcadenzaOff-suppresses-auto-beams-tp33437479p33437634.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond