Re: Confused about line breaking
On Tue 23 Feb 2016 at 05:49:28 (+0100), Helge Kruse wrote: > Andrew, > > The last duration in the treble staff is 4*16 i.e. four whole notes > with a quarter note head. > The first note in the next voice (in the bass staff) inherits this length. > > Use this: > > bass = { > \clef bass > \time 4/4 > c1 % set duration explicitly > c c > } You make it too easy! Perhaps Andrew did just forget that durations are copied from the previous note, but my guess was that he treated * as a multiplier and not a scaling. (And he wouldn't be the first.) In many situations it doesn't matter, but not in all. Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Confused about line breaking
Andrew, The last duration in the treble staff is 4*16 i.e. four whole notes with a quarter note head. The first note in the next voice (in the bass staff) inherits this length. Use this: bass = { \clef bass \time 4/4 c1 % set duration explicitly c c } Regards Helge 2016-02-23 2:55 GMT+01:00 Andrew Bernard: > While trying to concoct a minimal example for my question about staff-staff > spacing, I find I am confused. In the attached example, why are the bass > notes spaced apart by the number of spacers in the voice for line breaking? > I woild have thought they would be consecutive. > > Furthermore, if I put the ‘line-breaking’ voice before the voice for notes, > it shows this problem in the treble. Clearly there is something very basic > here that I am not understanding. > > Andrew > > — snip > > \version "2.19.36" > > \paper { > #(set-paper-size "a4" 'landscape) > } > > treble = { > \clef treble > \time 4/4 > > << > \new Voice > { > \repeat unfold 16 { c'' } > \repeat unfold 16 { c'' } > \repeat unfold 16 { c'' } > } > \new Voice % ‘line-breaking' > { > s4 * 16 \break > s4 * 16 \break > s4 * 16 \pageBreak > } > >> > } > > bass = { > \clef bass > \time 4/4 > c c c > } > > \score { > \new PianoStaff > << > \new Staff \treble > \new Staff \bass > >> > \layout { } > } > > — snip > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- PGP Fingerprint: EDCE F8C8 B727 6CC5 7006 05C1 BD3F EADC 8922 1F61 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Confused about line breaking
On Tue 23 Feb 2016 at 12:55:05 (+1100), Andrew Bernard wrote: > While trying to concoct a minimal example for my question about staff-staff > spacing, I find I am confused. In the attached example, why are the bass notes > spaced apart by the number of spacers in the voice for line breaking? I woild > have thought they would be consecutive. > > Furthermore, if I put the ‘line-breaking’ voice before the voice for notes, it > shows this problem in the treble. Clearly there is something very basic here > that I am not understanding. Try replacing s4 * 16 with s4 s4 s4 s4 s4 s4 s4 s4 s4 s4 s4 s4 s4 s4 s4 s4 and see what you get... Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Confused about line breaking
While trying to concoct a minimal example for my question about staff-staff spacing, I find I am confused. In the attached example, why are the bass notes spaced apart by the number of spacers in the voice for line breaking? I woild have thought they would be consecutive. Furthermore, if I put the ‘line-breaking’ voice before the voice for notes, it shows this problem in the treble. Clearly there is something very basic here that I am not understanding. Andrew — snip \version "2.19.36" \paper { #(set-paper-size "a4" 'landscape) } treble = { \clef treble \time 4/4 << \new Voice { \repeat unfold 16 { c'' } \repeat unfold 16 { c'' } \repeat unfold 16 { c'' } } \new Voice % ‘line-breaking' { s4 * 16 \break s4 * 16 \break s4 * 16 \pageBreak } >> } bass = { \clef bass \time 4/4 c c c } \score { \new PianoStaff << \new Staff \treble \new Staff \bass >> \layout { } } — snip ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user