Re: Articulations in same spot where slur ends
A possible workaround is something like d'8( c\prall-\tweak extra-offset #'(0 . 1.3)\turn) /Ole Sent with [Proton Mail](https://proton.me/) secure email. --- Original Message --- On Saturday, October 29th, 2022 at 07:01, Ole V. Villumsen wrote: > Hi, > Often, not always, when a slur ends on a note with the \prall\turn > combination (custom in baroque music), the prall and the turn are printed > colliding/overlapping in one spot rather than the turn above and the prall > below as they should. Please see the attachments. > > Best regards, Ole > > -- > Ole V. Villumsen > Jelshøjvænget 13 > DK–8270 Højbjerg > Denmark > +45 - 86 27 29 26 > SMS +45 - 30 22 29 26 > > Sent with [Proton Mail](https://proton.me/) secure email. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Articulations in same spot where slur ends
Hi, Often, not always, when a slur ends on a note with the \prall\turn combination (custom in baroque music), the prall and the turn are printed colliding/overlapping in one spot rather than the turn above and the prall below as they should. Please see the attachments. Best regards, Ole -- Ole V. Villumsen Jelshøjvænget 13 DK–8270 Højbjerg Denmark +45 - 86 27 29 26 SMS +45 - 30 22 29 26 Sent with [Proton Mail](https://proton.me/) secure email. prall-turn-bug.ly Description: Binary data ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
You're welcome Ole ! PS. Don't forget to unset the Timing in order to avoid any surprises, eg.: \new PianoStaff << \new Staff \relative { \time 3/4 s4*6 << { g'8([ fis] e' d c b) } \\ { s8 \once\hideNotes fis8~ 2 } >> \set Timing.measureLength = #(ly:make-moment 2/4) << { a4( gis) } \\ { b,2 } >> \unset Timing.measureLength \bar "||" \tempo "Presto di molto" \time 2/4 R2 } \new Staff { \clef F s4*6 d2 dis4^\p c2 r4 r8 e16 gis^\f } >> Cheers, Pierre Le ven. 28 oct. 2022 à 17:47, Ole V. Villumsen a écrit : > Hi Pierre, > Thank you, merci beaucoup! For my situation that is extremely helpful. The > documentation link too. I much prefer your solution over the ones by Paul, > Mark and Kevin pretending that the incomplete 3/4 measure is an upbeat, > which it isn’t. The way I read the documentation, in theory there might be > situations where telling Lilypond that 3/4 is 2/4 would give improper > beaming, but certainly not in my case, and in other cases this can be > easily corrected by hand. > > A happy weekend to all, > Best regards, Ole > > Sent with Proton Mail secure email. > > --- Original Message --- > On Friday, October 28th, 2022 at 17:29, Kevin Barry > wrote: > > > > On Fri, Oct 28, 2022 at 03:15:48PM +, Ole V. Villumsen wrote: > > > > > > If you use \partial at the beginning of a score it treats the > resulting > > > > duration as the length of music preceding the first bar. This is how > bar > > > > numbering generally works for upbeats/anacrusis. > > > > > > Obviously confirmed. > > > > > > I mean that it is documented behaviour. The NR says "When \partial is > > used at the beginning of a score, duration is the length of the music > > preceding the first bar." > > > > > I admit that I wondered more than a bit about the requirement in the > > > Notation Reference to insert a \partial "when the time signature > > > changes in mid measure". Composers do not always want an > > > upbeat/fractional pick-up there. Maybe supplying a zero duration is a > > > hack; but what is the alternative? At least NR doesn’t give one. > > > > > > It used to be the case that you had to use a different (more > > complicated) syntax to do that, but since the functionality was quite > > similar to partial, partial was updated to work when used at times other > > than the beginning of a piece. > > > > > > All of the examples of \partial in the documentation use it at the > > > > beginning of a bar and supply the duration. If you do the same it > should > > > > work for you. > > > > > > I didn’t see any examples of a zero partial in the docs either. I have > > > trouble making good sense of your last statement, though, sorry. What > > > are you suggesting to do when the composer did not intend nor supply > > > an upbeat? (My example is from C.Ph.E. Bach (1714 - 88): Fantasia C > > > major H.291, bars 71 - 72.) > > > > > > Partial only inserts an upbeat when used at the beginning of a score. To > > quote the NR: "When \partial is used after the beginning of a score, > > duration is the remaining length of the current measure. It does not > > create a new numbered bar." > > > > You should imitate the examples in the NR: put \partial 2 at the > > beginning of the shortened measure. Something like this (based on the > > image you attached): > > > > \relative { > > \time 3/4 > > g'8( fis e' d c b) > > \partial 2 > > a4( gis) > > \bar "||" > > \tempo "Presto di molto" > > \time 2/4 > > R2 > > } > > > > Kevin > ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
Hi Pierre, Thank you, merci beaucoup! For my situation that is extremely helpful. The documentation link too. I much prefer your solution over the ones by Paul, Mark and Kevin pretending that the incomplete 3/4 measure is an upbeat, which it isn’t. The way I read the documentation, in theory there might be situations where telling Lilypond that 3/4 is 2/4 would give improper beaming, but certainly not in my case, and in other cases this can be easily corrected by hand. A happy weekend to all, Best regards, Ole Sent with Proton Mail secure email. --- Original Message --- On Friday, October 28th, 2022 at 17:29, Kevin Barry wrote: > On Fri, Oct 28, 2022 at 03:15:48PM +, Ole V. Villumsen wrote: > > > > If you use \partial at the beginning of a score it treats the resulting > > > duration as the length of music preceding the first bar. This is how bar > > > numbering generally works for upbeats/anacrusis. > > > > Obviously confirmed. > > > I mean that it is documented behaviour. The NR says "When \partial is > used at the beginning of a score, duration is the length of the music > preceding the first bar." > > > I admit that I wondered more than a bit about the requirement in the > > Notation Reference to insert a \partial "when the time signature > > changes in mid measure". Composers do not always want an > > upbeat/fractional pick-up there. Maybe supplying a zero duration is a > > hack; but what is the alternative? At least NR doesn’t give one. > > > It used to be the case that you had to use a different (more > complicated) syntax to do that, but since the functionality was quite > similar to partial, partial was updated to work when used at times other > than the beginning of a piece. > > > > All of the examples of \partial in the documentation use it at the > > > beginning of a bar and supply the duration. If you do the same it should > > > work for you. > > > > I didn’t see any examples of a zero partial in the docs either. I have > > trouble making good sense of your last statement, though, sorry. What > > are you suggesting to do when the composer did not intend nor supply > > an upbeat? (My example is from C.Ph.E. Bach (1714 - 88): Fantasia C > > major H.291, bars 71 - 72.) > > > Partial only inserts an upbeat when used at the beginning of a score. To > quote the NR: "When \partial is used after the beginning of a score, > duration is the remaining length of the current measure. It does not > create a new numbered bar." > > You should imitate the examples in the NR: put \partial 2 at the > beginning of the shortened measure. Something like this (based on the > image you attached): > > \relative { > \time 3/4 > g'8( fis e' d c b) > \partial 2 > a4( gis) > \bar "||" > \tempo "Presto di molto" > \time 2/4 > R2 > } > > Kevin ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
On Fri, Oct 28, 2022 at 03:15:48PM +, Ole V. Villumsen wrote: > > If you use \partial at the beginning of a score it treats the resulting > > duration as the length of music preceding the first bar. This is how bar > > numbering generally works for upbeats/anacrusis. > > Obviously confirmed. I mean that it is documented behaviour. The NR says "When \partial is used at the beginning of a score, duration is the length of the music preceding the first bar." > I admit that I wondered more than a bit about the requirement in the > Notation Reference to insert a \partial "when the time signature > changes in mid measure". Composers do not always want an > upbeat/fractional pick-up there. Maybe supplying a zero duration is a > hack; but what is the alternative? At least NR doesn’t give one. It used to be the case that you had to use a different (more complicated) syntax to do that, but since the functionality was quite similar to partial, partial was updated to work when used at times other than the beginning of a piece. > > All of the examples of \partial in the documentation use it at the > > beginning of a bar and supply the duration. If you do the same it should > > work for you. > > I didn’t see any examples of a zero partial in the docs either. I have > trouble making good sense of your last statement, though, sorry. What > are you suggesting to do when the composer did not intend nor supply > an upbeat? (My example is from C.Ph.E. Bach (1714 - 88): Fantasia C > major H.291, bars 71 - 72.) Partial only inserts an upbeat when used at the beginning of a score. To quote the NR: "When \partial is used after the beginning of a score, duration is the remaining length of the current measure. It does not create a new numbered bar." You should imitate the examples in the NR: put \partial 2 at the beginning of the shortened measure. Something like this (based on the image you attached): \relative { \time 3/4 g'8( fis e' d c b) \partial 2 a4( gis) \bar "||" \tempo "Presto di molto" \time 2/4 R2 } Kevin ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
At 15:15 on 28 Oct 2022, Ole V. Villumsen via bug-lilypond wrote: > I didn’t see any examples of a zero partial in the docs either. I have > trouble making good sense of your last statement, though, sorry. What > are you suggesting to do when the composer did not intend nor supply > an upbeat? (My example is from C.Ph.E. Bach (1714 - 88): Fantasia C > major H.291, bars 71 - 72.) > FWIW if I leave out "\partial 8*0" (in direct conflict with NR), the > typeset music is identical. It still prints the rest wrong. Only I now > also get the expected warning from Lilypond: "mid-measure time > signature without \partial". Hi Ole, I'm not sure why you think the NR says to use "\partial 8*0", but the following should work for your CPE Bach example. { \time 3/4 \partial 4 c'4 | c'4 4 4 | 4 4 4 | \partial 2 4 4 \bar "||" \time 2/4 R2 } -- Mark Knoop ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
PS. See also: https://lilypond.org/doc/v2.22/Documentation/notation/special-rhythmic-concerns#time-administration ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
Hi Ole, ... > I didn’t see any examples of a zero partial in the docs either. I have > trouble making good sense of your last statement, though, sorry. What are > you suggesting to do when the composer did not intend nor supply an upbeat? > (My example is from C.Ph.E. Bach (1714 - 88): Fantasia C major H.291, bars > 71 - 72.) > ... This should do the trick: { \time 3/4 \set Timing.measureLength = #(ly:make-moment 2/4) % bar 1 f'4 f' \time 2/4 %\partial 8*0 % Required, NR 1.2.3 R2 | % Prints incorrectly R2 | % Prints correctly } HTH, Cheers, Pierre ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
Hi Kevin, Thank you for your input. > If you use \partial at the beginning of a score it treats the resulting > duration as the length of music preceding the first bar. This is how bar > numbering generally works for upbeats/anacrusis. Obviously confirmed. > Partial expects to be given a duration. I think it will not work as you > expect if you multiply the duration by 0 (which is probably a kind of > intpu that was not anticipated). At the point when you used it it's > already effectively "between" bars and if you supply a duration it will > apply to the next bar, not the previous bar. I admit that I wondered more than a bit about the requirement in the Notation Reference to insert a \partial "when the time signature changes in mid measure". Composers do not always want an upbeat/fractional pick-up there. Maybe supplying a zero duration is a hack; but what is the alternative? At least NR doesn’t give one. > All of the examples of \partial in the documentation use it at the > beginning of a bar and supply the duration. If you do the same it should > work for you. I didn’t see any examples of a zero partial in the docs either. I have trouble making good sense of your last statement, though, sorry. What are you suggesting to do when the composer did not intend nor supply an upbeat? (My example is from C.Ph.E. Bach (1714 - 88): Fantasia C major H.291, bars 71 - 72.) FWIW if I leave out "\partial 8*0" (in direct conflict with NR), the typeset music is identical. It still prints the rest wrong. Only I now also get the expected warning from Lilypond: "mid-measure time signature without \partial". Best regards, Ole Attachment: How my example time signature change looks in the Carl Krebs edition (1895), from https://imslp.org/wiki/2_Sonaten%2C_2_Fantasien_und_2_Rondos_f%C3%BCr_Kenner_und_Liebhaber%2C_Wq.61_(Bach%2C_Carl_Philipp_Emanuel).___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
On Fri, Oct 28, 2022 at 01:04:38PM +, Ole V. Villumsen via bug-lilypond wrote: > The incomplete 3/4 measure still has not got bar number 1. For most > purposes we can probably live with that. Setting the current bar > number explicitly to 1 did not help (apparently upbeats don’t have bar > numbers). But setting it to 2 for the following bar fixes it for the > remainder of the score. If you use \partial at the beginning of a score it treats the resulting duration as the length of music preceding the first bar. This is how bar numbering generally works for upbeats/anacrusis. > I consider it a workaround not to say a hack. I still firmly believe > that the bug I was reporting is real. Partial expects to be given a duration. I think it will not work as you expect if you multiply the duration by 0 (which is probably a kind of intpu that was not anticipated). At the point when you used it it's already effectively "between" bars and if you supply a duration it will apply to the *next* bar, not the *previous* bar. All of the examples of \partial in the documentation use it at the beginning of a bar and supply the duration. If you do the same it should work for you. Kevin ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
Hi Paul, that’s an interesting suggestion. The following can be considered working: \time 3/4 \partial 4*2 % defines an upbeat holding two crotchets f'4 f' | \time 2/4 \set Score.currentBarNumber = #2 R2 | R2 | The incomplete 3/4 measure still has not got bar number 1. For most purposes we can probably live with that. Setting the current bar number explicitly to 1 did not help (apparently upbeats don’t have bar numbers). But setting it to 2 for the following bar fixes it for the remainder of the score. I consider it a workaround not to say a hack. I still firmly believe that the bug I was reporting is real. Thanks for the workaround, though. It helps. As I said, I had not found any myself. Have a nice weekend. Best, Ole Sent with [Proton Mail](https://proton.me/) secure email. --- Original Message --- On Friday, October 28th, 2022 at 14:22, Paul Hodges wrote: > Is this not you want: > > \version "2.22.2" > > { > \time 3/4 > \partial 4*2 % defines bar as holding two crotchets > f'4 f' | > \time 2/4 > R2 | > R2 | > } > > Paul > > From: Ole V. Villumsen via bug-lilypond > To: "bug-lilypond@gnu.org" > Sent: 28/10/2022 10:52 > Subject: Full bar rest printed incorrectly after time signature change > >> I have found no really acceptable workaround for this bug. Please see the >> attachments. >> Thx >> Ole >> >> -- >> Ole V. Villumsen >> Jelshøjvænget 13 >> DK - 8270 Højbjerg >> Denmark >> +45 - 86 27 29 26 >> Text +45 - 30 22 29 26 >> >> Sent with [Proton Mail](https://proton.me/) secure email. >> >> ___ >> bug-lilypond mailing list >> bug-lilypond@gnu.org >> https://lists.gnu.org/mailman/listinfo/bug-lilypond ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
Is this not you want: \version "2.22.2" { \time 3/4 \partial 4*2 % defines bar as holding two crotchets f'4 f' | \time 2/4 R2 | R2 | } Paul From: Ole V. Villumsen via bug-lilypond To: "bug-lilypond@gnu.org" Sent: 28/10/2022 10:52 Subject: Full bar rest printed incorrectly after time signature change I have found no really acceptable workaround for this bug. Please see the attachments. Thx Ole -- Ole V. Villumsen Jelshøjvænget 13 DK - 8270 Højbjerg Denmark +45 - 86 27 29 26 Text +45 - 30 22 29 26 Sent with [Proton Mail](https://proton.me/) secure email. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
Sorry, a new full 2/4 measure. Hope it wasn’t too confusing. Sent with [Proton Mail](https://proton.me/) secure email. --- Original Message --- On Friday, October 28th, 2022 at 12:44, Ole V. Villumsen wrote: > Thanks, Paul, for your reply. > You are correct, of course: I tried to say from the outset that I knew I was > changing the time signature in the middle of the measure (after 2 out of 3 > crotchets). > > From > https://lilypond.org/doc/v2.22/Documentation/notation/displaying-rhythms#upbeats: > >> The \partial command is required when the time signature changes in mid >> measure, but it may also be used alone. > > and > >> The \partial command sets the Timing.measurePosition property, which is a >> rational number that indicates how much of the measure has passed. > > The answer to your question is: So since I explicitly state that the upbeat > is zero (\partial 8*0), I expect a new full 2/2 measure to begin right there. > When I put anything else in the new bar, it also works the way I expect. I > tried r2, and I tried f'4 f'. > > Best regards, Ole > > Sent with [Proton Mail](https://proton.me/) secure email. > > --- Original Message --- > On Friday, October 28th, 2022 at 12:16, Paul Hodges wrote: > >> There are only two crotchets between your 3/4 signature and your 2/4 >> signature - what do you expect to happen? >> >> Paul >> >> From: Ole V. Villumsen via bug-lilypond >> To: "bug-lilypond@gnu.org" >> Sent: 28/10/2022 10:52 >> Subject: Full bar rest printed incorrectly after time signature change >> >>> I have found no really acceptable workaround for this bug. Please see the >>> attachments. >>> Thx >>> Ole >>> >>> -- >>> Ole V. Villumsen >>> Jelshøjvænget 13 >>> DK - 8270 Højbjerg >>> Denmark >>> +45 - 86 27 29 26 >>> Text +45 - 30 22 29 26 >>> >>> Sent with [Proton Mail](https://proton.me/) secure email. >>> >>> ___ >>> bug-lilypond mailing list >>> bug-lilypond@gnu.org >>> https://lists.gnu.org/mailman/listinfo/bug-lilypond ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
Thanks, Paul, for your reply. You are correct, of course: I tried to say from the outset that I knew I was changing the time signature in the middle of the measure (after 2 out of 3 crotchets). From https://lilypond.org/doc/v2.22/Documentation/notation/displaying-rhythms#upbeats: > The \partial command is required when the time signature changes in mid > measure, but it may also be used alone. and > The \partial command sets the Timing.measurePosition property, which is a > rational number that indicates how much of the measure has passed. The answer to your question is: So since I explicitly state that the upbeat is zero (\partial 8*0), I expect a new full 2/2 measure to begin right there. When I put anything else in the new bar, it also works the way I expect. I tried r2, and I tried f'4 f'. Best regards, Ole Sent with [Proton Mail](https://proton.me/) secure email. --- Original Message --- On Friday, October 28th, 2022 at 12:16, Paul Hodges wrote: > There are only two crotchets between your 3/4 signature and your 2/4 > signature - what do you expect to happen? > > Paul > > From: Ole V. Villumsen via bug-lilypond > To: "bug-lilypond@gnu.org" > Sent: 28/10/2022 10:52 > Subject: Full bar rest printed incorrectly after time signature change > >> I have found no really acceptable workaround for this bug. Please see the >> attachments. >> Thx >> Ole >> >> -- >> Ole V. Villumsen >> Jelshøjvænget 13 >> DK - 8270 Højbjerg >> Denmark >> +45 - 86 27 29 26 >> Text +45 - 30 22 29 26 >> >> Sent with [Proton Mail](https://proton.me/) secure email. >> >> ___ >> bug-lilypond mailing list >> bug-lilypond@gnu.org >> https://lists.gnu.org/mailman/listinfo/bug-lilypond ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Full bar rest printed incorrectly after time signature change
There are only two crotchets between your 3/4 signature and your 2/4 signature - what do you expect to happen? Paul From: Ole V. Villumsen via bug-lilypond To: "bug-lilypond@gnu.org" Sent: 28/10/2022 10:52 Subject: Full bar rest printed incorrectly after time signature change I have found no really acceptable workaround for this bug. Please see the attachments. Thx Ole -- Ole V. Villumsen Jelshøjvænget 13 DK - 8270 Højbjerg Denmark +45 - 86 27 29 26 Text +45 - 30 22 29 26 Sent with [Proton Mail](https://proton.me/) secure email. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Full bar rest printed incorrectly after time signature change
I have found no really acceptable workaround for this bug. Please see the attachments. Thx Ole -- Ole V. Villumsen Jelshøjvænget 13 DK - 8270 Højbjerg Denmark +45 - 86 27 29 26 Text +45 - 30 22 29 26 Sent with [Proton Mail](https://proton.me/) secure email.% In the output from this file, the first full bar rest (R2) is printed % incorrectly as a 2 bars rest between the previous and the current bar. % The rest comes immediately after a mid-measure time signature change % with zero upbeat. % The second full bar rest is printed correctly. % The first one should be printed in the same way. \version "2.22.2" { \time 3/4 f'4 f' \time 2/4 \partial 8*0 % Required, NR 1.2.3 R2 | % Prints incorrectly R2 | % Prints correctly } ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond