Re: trouble with end bar and open-repeat (volta) bars at same place.
Well spotted. For some reason the string arrangement I'm adapting uses alternate endings every 8 bars... In looking through all 4 parts, I see no difference in 1st or 2nd endings. I'm betting that this 4-part rendering ONLY used the alt endings to denote a more obvious Fine. I'm going to doublecheck the notes to make sure, play with T.Morley's advice, and decide whether to follow the older score you linked to or the newer 4-part arrangement. On 12/14/2015 06:51 PM, Mark Stephen Mrotek wrote: Mike: Looking at the piece http://petrucci.mus.auth.gr/imglnks/usimg/f/f5/IMSLP24315-PMLP55004-Mozart_3_Deutsche_Tanze_K.605.pdf the first section does not have alternative endings. The Trio starts a new staff/section. Mark *From:*lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] *On Behalf Of *Mike F. *Sent:* Monday, December 14, 2015 5:39 PM *To:* lilypond-user@gnu.org *Subject:* trouble with end bar and open-repeat (volta) bars at same place. Is there any way to have an endbar (\bar "|.") AND the begin-repeat for my \repeat volta 2 {} simultaneously? I'm attempting to typeset a typical Mozart Menuetto/Trio (Sleigh Ride K605 #3) with a DC al Fine that ends after the last \alternative in the Menuetto. The beginning of the Trio must start with a volta repeat, but I'd really like to have an End-Bar under the Fine. Any ideas? Google and I can't seem to find anything close online. (I already used the snippet for an invisible measure--named \splitBar in my macros--to separate out the \mark \markup {"Fine"} and the \mark \default at the Trio beginning.) Here's the outline of Herr Mozart's Menuetto/Trio. Thanks in advance. --- outlineSleighRide = { \tempo "Menuetto" 4=180 \repeat volta 2 { s2.*7 | } % 1-7 \alternative { { s2. | } % 8 { s2. | } % 9 } % end alternative \mark \default % rehearsal A \repeat volta 2 { s2.*7 | } % 10-16 \alternative { { s2. | } % 17 { s2. | } % 18 } % end alternative \fine \splitBar \mark \default % rehearsal B \key bes \major \tempo "Trio" \repeat volta 2 { % B s4. s4. | % 19 s2.*6 | % 20-25 } % end volta repeat \alternative { { s2. | } % 26 { s2. | } % 27 } % end alternative \mark \default % rehearsal C \repeat volta 2 { s2.*7 | } % 28-34 \alternative { { s2. | } % 35 { s2. | } % 36 } % end alternative \key f \major \DCalfine } % end outlineSleighRide -<\code>--- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: trouble with end bar and open-repeat (volta) bars at same place.
T.Morley, you pointed me in the right direction. This gave me the \bar"|." I wanted to end the Menuetto with, but still no \bar"|:" to kick off the Trio. Turns out it was something to do with the \splitBar that I used to get my \mark "Fine" AND my \mark \default. As near as I can tell, \splitBar caused Lilypond to treat my Trio as the first measure of a new piece, and of course \bar"|:" doesn't print by default. The snippet in UM 1.4.1 (right before "Written-out repeats") got that sorted for me, once I figured out that it needs to be in both my \outlineSleighRide as well as my SleighRide parts. Thanks Morley and Mrotek. I would've spent several days finding this without you. I'm tempted to omit the alternates, but I'll see which style I like best. Complete code listed below, but I have yet to finish the 3 lower string parts (or lay the outline on top of those parts...) On 12/14/2015 07:17 PM, Thomas Morley wrote: #(define-bar-line ".|:-a" "|." ".|:" ".|") -- \version "2.18.2" \header { title = "Sleigh Ride" subtitle = "from German Dance, K.605 #3" instrument = "Score" composer = "Wolfgang Amadeus Mozart" } \paper { #(set-paper-size "letter") } #(ly:set-option 'point-and-click #t) optionalCut = {\once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \mark \markup { "Opt. cut to "\raise #1 \musicglyph #"scripts.coda"} } thecodasign = \mark \markup {\musicglyph #"scripts.coda" "Coda"} thesegno = \mark \markup {\musicglyph #"scripts.segno"} varcodasign = \mark \markup {\musicglyph #"scripts.varcoda"} Radjust = \once \override Score.RehearsalMark.self-alignment-X = #RIGHT Ladjust = \once \override Score.RehearsalMark.self-alignment-X = #LEFT gotocoda = { \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \Radjust \mark \markup { "Go to "\musicglyph #"scripts.coda" } \bar"||" } blankClefKey = {\once \override Staff.KeySignature.break-visibility = #all-invisible \once \override Staff.Clef.break-visibility = #all-invisible } codetta = {\mark \markup \line {\musicglyph #"scripts.coda" \hspace #-1.3 \musicglyph #"scripts.coda"} } fineFermata = { \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \Radjust \mark \markup {"Fine"} \mark \markup {\musicglyph #"scripts.ufermata" } \bar "|." } fine = { \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \Radjust \mark \markup {"Fine"} \bar "|." } fineNoEndBar = { \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \Radjust \mark \markup {"Fine"} \mark \markup {\musicglyph #"scripts.ufermata" } } DCalfineNoBars = {\Radjust \mark \markup {"D.C. al Fine"} \blankClefKey \stopStaff \cadenzaOn } DCalfine = {\Radjust \mark \markup {"D.C. al Fine"} \bar "||" \blankClefKey \stopStaff \cadenzaOn } DCalcoda = {\Radjust \mark \markup {"D.C. al Coda"} \bar "||" \blankClefKey \stopStaff \cadenzaOn } DSalfine = {\Radjust \mark \markup {"D.S. al Fine"} \bar "||" \blankClefKey \stopStaff \cadenzaOn } DSalcoda = {\Radjust \mark \markup {"D.S. al Coda"} \bar "||" \blankClefKey \stopStaff \cadenzaOn } showClefKey = {\once \override Staff.KeySignature.break-visibility = #all-visible \once \override Staff.Clef.break-visibility = #all-visible } resumeStaff = { s32 % Add a whee bit of staff before the clef! \cadenzaOff \startStaff % Resume bar count and show staff lines again \bar "" } %% whitespace between D.S./D.C. and the Coda: codaspace = {\repeat unfold 2 {s4 s4 s4 s4 \noBreak \bar "" }} theCoda = {\noBreak \codaspace \resumeStaff \showClefKey \thecodasign} %% ---end-of-coda-segno-macros-- %% for codas/segno/fine \marks on the "same" barline splitBar = { \cadenzaOn \once \omit Score.TimeSignature \time 1/16 s16 \bar "" \cadenzaOff } mscoreFormat = { \set Score.skipBars = ##t % \override Score.BarNumber.break-visibility = #end-of-line-invisible %%every bar is numbered.!!! %% remove previous line to get barnumbers only at beginning of system. \accidentalStyle modern-cautionary \set Score.markFormatter = #format-mark-box-letters %%boxed rehearsal-marks \override Score.TimeSignature.style = #'() %%makes timesigs always numerical \compressFullBarRests \override Score.BarNumber.break-visibility = #'#(#f #t #t) % everywhere except endbar on line \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4) % Left-align bar numbers \override Score.BarNumber.self-alignment-X = #LEFT \override Glissando.style = #'trill \override MultiMeasureRest.expand-limit = #1 } globalSleighRide = { \mscoreFormat \key f \major \numericTimeSignature \time 3/4 } outlineSleighRide = { \tempo "Menuetto" 4=180 \repeat volta 2 { s2.*7 | } % 1-7 \alternative { { s2. | } % 8 { s2. | } % 9 } % end alternative \mark \default % rehearsal A
trouble with end bar and open-repeat (volta) bars at same place.
Is there any way to have an endbar (\bar "|.") AND the begin-repeat for my \repeat volta 2 {} simultaneously? I'm attempting to typeset a typical Mozart Menuetto/Trio (Sleigh Ride K605 #3) with a DC al Fine that ends after the last \alternative in the Menuetto. The beginning of the Trio must start with a volta repeat, but I'd really like to have an End-Bar under the Fine. Any ideas? Google and I can't seem to find anything close online. (I already used the snippet for an invisible measure--named \splitBar in my macros--to separate out the \mark \markup {"Fine"} and the \mark \default at the Trio beginning.) Here's the outline of Herr Mozart's Menuetto/Trio. Thanks in advance. --- outlineSleighRide = { \tempo "Menuetto" 4=180 \repeat volta 2 { s2.*7 | } % 1-7 \alternative { { s2. | } % 8 { s2. | } % 9 } % end alternative \mark \default % rehearsal A \repeat volta 2 { s2.*7 | } % 10-16 \alternative { { s2. | } % 17 { s2. | } % 18 } % end alternative \fine \splitBar \mark \default % rehearsal B \key bes \major \tempo "Trio" \repeat volta 2 { % B s4. s4. | % 19 s2.*6 | % 20-25 } % end volta repeat \alternative { { s2. | } % 26 { s2. | } % 27 } % end alternative \mark \default % rehearsal C \repeat volta 2 { s2.*7 | } % 28-34 \alternative { { s2. | } % 35 { s2. | } % 36 } % end alternative \key f \major \DCalfine } % end outlineSleighRide -<\code>--- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: trouble with end bar and open-repeat (volta) bars at same place.
Mike: Looking at the piece http://petrucci.mus.auth.gr/imglnks/usimg/f/f5/IMSLP24315-PMLP55004-Mozart_3_Deutsche_Tanze_K.605.pdf the first section does not have alternative endings. The Trio starts a new staff/section. Mark From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Mike F. Sent: Monday, December 14, 2015 5:39 PM To: lilypond-user@gnu.org Subject: trouble with end bar and open-repeat (volta) bars at same place. Is there any way to have an endbar (\bar "|.") AND the begin-repeat for my \repeat volta 2 {} simultaneously? I'm attempting to typeset a typical Mozart Menuetto/Trio (Sleigh Ride K605 #3) with a DC al Fine that ends after the last \alternative in the Menuetto. The beginning of the Trio must start with a volta repeat, but I'd really like to have an End-Bar under the Fine. Any ideas? Google and I can't seem to find anything close online. (I already used the snippet for an invisible measure--named \splitBar in my macros--to separate out the \mark \markup {"Fine"} and the \mark \default at the Trio beginning.) Here's the outline of Herr Mozart's Menuetto/Trio. Thanks in advance. --- outlineSleighRide = { \tempo "Menuetto" 4=180 \repeat volta 2 { s2.*7 | } % 1-7 \alternative { { s2. | } % 8 { s2. | } % 9 } % end alternative \mark \default % rehearsal A \repeat volta 2 { s2.*7 | } % 10-16 \alternative { { s2. | } % 17 { s2. | } % 18 } % end alternative \fine \splitBar \mark \default % rehearsal B \key bes \major \tempo "Trio" \repeat volta 2 { % B s4. s4. | % 19 s2.*6 | % 20-25 } % end volta repeat \alternative { { s2. | } % 26 { s2. | } % 27 } % end alternative \mark \default % rehearsal C \repeat volta 2 { s2.*7 | } % 28-34 \alternative { { s2. | } % 35 { s2. | } % 36 } % end alternative \key f \major \DCalfine } % end outlineSleighRide -<\code>--- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: trouble with end bar and open-repeat (volta) bars at same place.
2015-12-15 3:13 GMT+01:00 Thomas Morley: > 2015-12-15 2:38 GMT+01:00 Mike F. : >> Is there any way to have an endbar (\bar "|.") AND the begin-repeat for my >> \repeat volta 2 {} simultaneously? >> >> I'm attempting to typeset a typical Mozart Menuetto/Trio (Sleigh Ride K605 >> #3) with a DC al Fine that ends after the last \alternative in the Menuetto. >> The beginning of the Trio must start with a volta repeat, but I'd really >> like to have an End-Bar under the Fine. >> >> Any ideas? Google and I can't seem to find anything close online. >> >> (I already used the snippet for an invisible measure--named \splitBar in my >> macros--to separate out the \mark \markup {"Fine"} and the \mark \default at >> the Trio beginning.) >> >> Here's the outline of Herr Mozart's Menuetto/Trio. >> >> Thanks in advance. >> >> --- >> >> outlineSleighRide = { >> >> \tempo "Menuetto" 4=180 >> >> \repeat volta 2 { s2.*7 | } % 1-7 >> >> \alternative { >> >> { s2. | } % 8 >> >> { s2. | } % 9 >> >> } % end alternative >> >> \mark \default % rehearsal A >> >> \repeat volta 2 { s2.*7 | } % 10-16 >> >> \alternative { >> >> { s2. | } % 17 >> >> { s2. | } % 18 >> >> } % end alternative >> >> \fine >> >> \splitBar >> >> \mark \default % rehearsal B >> >> \key bes \major >> >> \tempo "Trio" >> >> \repeat volta 2 { >> >> % B >> >> s4. s4. | % 19 >> >> s2.*6 | % 20-25 >> >> } % end volta repeat >> >> \alternative { >> >> { s2. | } % 26 >> >> { s2. | } % 27 >> >> } % end alternative >> >> \mark \default % rehearsal C >> >> \repeat volta 2 { s2.*7 | } % 28-34 >> >> \alternative { >> >> { s2. | } % 35 >> >> { s2. | } % 36 >> >> } % end alternative >> >> \key f \major >> >> \DCalfine >> >> } % end outlineSleighRide >> >> -<\code>--- >> > > Please always post the version you use and a tiny, _compilable_ example. > Right now I've no good idea what you're trying to achieve. > Usually I ignore posts without version/compilable example, I hate to > guess what _may_ be wished. > Though, I'm pretty drunk (love those Islay single malts) > > Here a guess: > > \version "2.19.32" > > #(define-bar-line ".|:-a" "|." ".|:" "|") Better: #(define-bar-line ".|:-a" "|." ".|:" ".|") > > { > s1 > \break > \bar ".|:-a" > \repeat volta 2 { s1 } > } > > HTH, > Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: trouble with end bar and open-repeat (volta) bars at same place.
2015-12-15 2:38 GMT+01:00 Mike F.: > Is there any way to have an endbar (\bar "|.") AND the begin-repeat for my > \repeat volta 2 {} simultaneously? > > I'm attempting to typeset a typical Mozart Menuetto/Trio (Sleigh Ride K605 > #3) with a DC al Fine that ends after the last \alternative in the Menuetto. > The beginning of the Trio must start with a volta repeat, but I'd really > like to have an End-Bar under the Fine. > > Any ideas? Google and I can't seem to find anything close online. > > (I already used the snippet for an invisible measure--named \splitBar in my > macros--to separate out the \mark \markup {"Fine"} and the \mark \default at > the Trio beginning.) > > Here's the outline of Herr Mozart's Menuetto/Trio. > > Thanks in advance. > > --- > > outlineSleighRide = { > > \tempo "Menuetto" 4=180 > > \repeat volta 2 { s2.*7 | } % 1-7 > > \alternative { > > { s2. | } % 8 > > { s2. | } % 9 > > } % end alternative > > \mark \default % rehearsal A > > \repeat volta 2 { s2.*7 | } % 10-16 > > \alternative { > > { s2. | } % 17 > > { s2. | } % 18 > > } % end alternative > > \fine > > \splitBar > > \mark \default % rehearsal B > > \key bes \major > > \tempo "Trio" > > \repeat volta 2 { > > % B > > s4. s4. | % 19 > > s2.*6 | % 20-25 > > } % end volta repeat > > \alternative { > > { s2. | } % 26 > > { s2. | } % 27 > > } % end alternative > > \mark \default % rehearsal C > > \repeat volta 2 { s2.*7 | } % 28-34 > > \alternative { > > { s2. | } % 35 > > { s2. | } % 36 > > } % end alternative > > \key f \major > > \DCalfine > > } % end outlineSleighRide > > -<\code>--- > Please always post the version you use and a tiny, _compilable_ example. Right now I've no good idea what you're trying to achieve. Usually I ignore posts without version/compilable example, I hate to guess what _may_ be wished. Though, I'm pretty drunk (love those Islay single malts) Here a guess: \version "2.19.32" #(define-bar-line ".|:-a" "|." ".|:" "|") { s1 \break \bar ".|:-a" \repeat volta 2 { s1 } } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: trouble with end bar and open-repeat (volta) bars at same place.
Thanks for your prompt suggestion. I thought of "version #" just after [send]. Typical. \version "2.18.2" I'm no good at making my own #defs, but I'm familiar enough with them that I think I understand yours. I'll test when I've finished a bit of holiday shopping. Again, thanks. On 12/14/2015 07:17 PM, Thomas Morley wrote: 2015-12-15 3:13 GMT+01:00 Thomas Morley: 2015-12-15 2:38 GMT+01:00 Mike F. : Is there any way to have an endbar (\bar "|.") AND the begin-repeat for my \repeat volta 2 {} simultaneously? I'm attempting to typeset a typical Mozart Menuetto/Trio (Sleigh Ride K605 #3) with a DC al Fine that ends after the last \alternative in the Menuetto. The beginning of the Trio must start with a volta repeat, but I'd really like to have an End-Bar under the Fine. Any ideas? Google and I can't seem to find anything close online. (I already used the snippet for an invisible measure--named \splitBar in my macros--to separate out the \mark \markup {"Fine"} and the \mark \default at the Trio beginning.) Here's the outline of Herr Mozart's Menuetto/Trio. Thanks in advance. --- outlineSleighRide = { \tempo "Menuetto" 4=180 \repeat volta 2 { s2.*7 | } % 1-7 \alternative { { s2. | } % 8 { s2. | } % 9 } % end alternative \mark \default % rehearsal A \repeat volta 2 { s2.*7 | } % 10-16 \alternative { { s2. | } % 17 { s2. | } % 18 } % end alternative \fine \splitBar \mark \default % rehearsal B \key bes \major \tempo "Trio" \repeat volta 2 { % B s4. s4. | % 19 s2.*6 | % 20-25 } % end volta repeat \alternative { { s2. | } % 26 { s2. | } % 27 } % end alternative \mark \default % rehearsal C \repeat volta 2 { s2.*7 | } % 28-34 \alternative { { s2. | } % 35 { s2. | } % 36 } % end alternative \key f \major \DCalfine } % end outlineSleighRide -<\code>--- Please always post the version you use and a tiny, _compilable_ example. Right now I've no good idea what you're trying to achieve. Usually I ignore posts without version/compilable example, I hate to guess what _may_ be wished. Though, I'm pretty drunk (love those Islay single malts) Here a guess: \version "2.19.32" #(define-bar-line ".|:-a" "|." ".|:" "|") Better: #(define-bar-line ".|:-a" "|." ".|:" ".|") { s1 \break \bar ".|:-a" \repeat volta 2 { s1 } } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user