|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Codas / TriosI'm sure I've seen it somewhere, but I can't find it in the manuals,
snippets, or searching the lists :-( I'm trying to do what is very typical for my sort of music (band parts). Namely, end the line with a double bar (often with a segno or coda sign). Then the next line starts with the word "CODA" or "TRIO" before the music starts again. Has anybody got an example I can crib? I've found one of my examples using stop/start staff and cadenza, but it's a mess :-( Cheers, Wol -- Anthony W. Youngman - anthony@... _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: Codas / Trios"Anthony W. Youngman" <lilypond@...> writes:
> I'm sure I've seen it somewhere, but I can't find it in the manuals, > snippets, or searching the lists :-( > > I'm trying to do what is very typical for my sort of music (band > parts). Namely, end the line with a double bar (often with a segno or > coda sign). Then the next line starts with the word "CODA" or "TRIO" > before the music starts again. Has anybody got an example I can crib? > I've found one of my examples using stop/start staff and cadenza, but > it's a mess :-( <URL:http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Repeats#Repeats> Scroll down to "positioning segno and coda". Personally, I find it appalling that you have to plaster together markup like that without any predefined makros. In particular since this will not be reflected in the MIDI output. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: Codas / TriosIn message <87k4ylfdzl.fsf@...>, David Kastrup <dak@...>
writes >"Anthony W. Youngman" <lilypond@...> writes: > >> I'm sure I've seen it somewhere, but I can't find it in the manuals, >> snippets, or searching the lists :-( >> >> I'm trying to do what is very typical for my sort of music (band >> parts). Namely, end the line with a double bar (often with a segno or >> coda sign). Then the next line starts with the word "CODA" or "TRIO" >> before the music starts again. Has anybody got an example I can crib? >> I've found one of my examples using stop/start staff and cadenza, but >> it's a mess :-( > ><URL:http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Repeats#Repeats> > >Scroll down to "positioning segno and coda". Personally, I find it >appalling that you have to plaster together markup like that without any >predefined makros. In particular since this will not be reflected in >the MIDI output. > part of the example is hidden to the left of the left margin!). I'll have to play with it. I need the line break BEFORE the blank space, not after. I need the text LEVEL with the staff, not above. It would be nice if the double bar was clean, not with lines sticking out of it. And from my previous attempt, I ended up with the clef and key signature not moving, so my line had them hanging in empty space before the start of the staff :-( Thanks anyway. I'll play with that and see where it gets me (not that far, I expect :-( Cheers, Wol -- Anthony W. Youngman - anthony@... _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: Codas / TriosIn message <hfqRFwAoYs4KFwWQ@...>, Anthony W. Youngman
<lilypond@...> writes >In message <87k4ylfdzl.fsf@...>, David Kastrup <dak@...> >writes >>"Anthony W. Youngman" <lilypond@...> writes: >> >>> I'm sure I've seen it somewhere, but I can't find it in the manuals, >>> snippets, or searching the lists :-( >>> >>> I'm trying to do what is very typical for my sort of music (band >>> parts). Namely, end the line with a double bar (often with a segno or >>> coda sign). Then the next line starts with the word "CODA" or "TRIO" >>> before the music starts again. Has anybody got an example I can crib? >>> I've found one of my examples using stop/start staff and cadenza, but >>> it's a mess :-( >> >><URL:http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Repeats# >>Repeats> >> >>Scroll down to "positioning segno and coda". Personally, I find it >>appalling that you have to plaster together markup like that without any >>predefined makros. In particular since this will not be reflected in >>the MIDI output. >> >Thanks. I'd seen that, but didn't see how it applied (not least because >part of the example is hidden to the left of the left margin!). I'll >have to play with it. > >I need the line break BEFORE the blank space, not after. I need the >text LEVEL with the staff, not above. It would be nice if the double >bar was clean, not with lines sticking out of it. And from my previous >attempt, I ended up with the clef and key signature not moving, so my >line had them hanging in empty space before the start of the staff :-( > >Thanks anyway. I'll play with that and see where it gets me (not that >far, I expect :-( > I'm still not totally happy, in that because I separate layout and notes, I now need to insert dummy bars all over the place, but at least it looks like I want. Next job - move text inside a volta alternative rather than above it ... I think I've seen how to do it, all I need to do is find it again ... Anyways, I attach the modded snippet so anybody who wants it can see what I've done - it's a pretty typical layout on a march card ... Cheers, Wol { \clef treble \key g \major \time 4/4 \relative c'' { \repeat unfold 2 { | c4 c c c } % Set segno sign as rehearsal mark and adjust size if needed % \once \override Score.RehearsalMark #'font-size = #3 \mark \markup { \musicglyph #"scripts.segno" } \repeat unfold 2 { | c4 c c c } % Set coda sign as rehearsal mark and adjust size if needed \once \override Score.RehearsalMark #'font-size = #4 \mark \markup { \musicglyph #"scripts.coda" } \repeat unfold 2 { | c4 c c c } % Should Coda be on anew line? % Coda NOT on new line: use \nobreak % Coda on new line: DON'T use \nobreak % \noBreak \bar "||" % Set segno sign as rehearsal mark and adjust size if needed \once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible % \once \override Score.RehearsalMark #'font-size = #3 \mark \markup { \musicglyph #"scripts.segno" } % Here begins the trickery! % \cadenzaOn will suppress the bar count and \stopStaff removes the staff lines. \cadenzaOn \stopStaff \once \override Staff.KeySignature #'stencil = ##f \once \override Staff.Clef #'stencil = ##f \break % Some examples of possible text-displays % text line-aligned % ================== % Move text to the desired position % \once \override TextScript #'extra-offset = #'( 2 . -3.5 ) % | s1*0^\markup { D.S. al Coda } } % text center-aligned % ==================== % Move text to the desired position % \once \override TextScript #'extra-offset = #'( 6 . -5.0 ) % | s1*0^\markup { \center-column { D.S. "al Coda" } } % text and symbols center-aligned % =============================== % Move text to the desired position and tweak spacing for optimum text alignment %\once \override TextScript #'extra-offset = #'( 8 . -5.5 ) \once \override TextScript #'word-space = #1.5 % \once \override TextScript #'X-offset = #8 % \once \override TextScript #'Y-offset = #1.5 \once \override TextScript #'Y-offset = #-0.5 | s1*0^\markup { \center-column { "CODA" } } % Increasing the unfold counter will expand the staff-free space % \repeat unfold 1 { % s4 s4 s4 s4 \bar "" % } % Resume bar count and show staff lines again \startStaff \cadenzaOff % Should Coda be on new line? % Coda NOT on new line: DON'T use \break % Coda on new line: use \break % \break % Show up, you clef and key! \once \override Staff.KeySignature #'break-visibility = #end-of-line-invisible \once \override Staff.Clef #'break-visibility = #end-of-line-invisible % Set coda sign as rehearsal mark and adjust size and position % Put the coda sign ontop of the (treble-)clef dependend on coda's line-position % Coda NOT on new line, use this: % \once \override Score.RehearsalMark #'extra-offset = #'( -2 . 1.75 ) % Coda on new line, use this: % \once \override Score.RehearsalMark #'extra-offset = #'( -8.42 . 1.75 ) % \once \override Score.RehearsalMark #'font-size = #5 % \mark \markup { \musicglyph #"scripts.coda" } % The coda \repeat unfold 5 { | c4 c c c } \bar"|." } } -- Anthony W. Youngman - anthony@... _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: Codas / TriosIn message <ygUlqbBSRz4KFwG$@...>, Anthony W. Youngman
<lilypond@...> writes >> >I'm surprised ... after a bit of work it got me where I needed to be! >Thanks very much. > >I'm still not totally happy, in that because I separate layout and >notes, I now need to insert dummy bars all over the place, but at least >it looks like I want. Mmmm - I'm not at all happy now I've played with it ... is there any way I can get the text to take the space it needs? (rather than using spacer notes?) I've tried \textLengthOn - that doesn't seem to work. The trouble with using spacers to create the space is (a) it doesn't always work, and (b) if you separate notes and layout then the space required will vary from part to part - on a march card you can't afford to waste space! > >Next job - move text inside a volta alternative rather than above it >... I think I've seen how to do it, all I need to do is find it again >... > >Anyways, I attach the modded snippet so anybody who wants it can see >what I've done - it's a pretty typical layout on a march card ... > >Cheers, >Wol > > >[ A MIME text / plain part was included here. ] > > -- Anthony W. Youngman - anthony@... _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
|
|
|
Re: Codas / Trios"David Pounder" <pounderd@...> writes:
>> ------- Original Message ------- >> From: "Anthony W. Youngman" <lilypond@...> >> To: lilypond-user@... >> Sent: 25.10.09, 2:20:09 >> Subject: Re: Codas / Trios >> >> In message <ygUlqbBSRz4KFwG$@...>, Anthony W. Youngman >> <lilypond@...> writes >> >> >> >I'm surprised ... after a bit of work it got me where I needed to be! >> >Thanks very much. >> > >> >I'm still not totally happy, in that because I separate layout and >> >notes, I now need to insert dummy bars all over the place, but at least >> >it looks like I want. >> >> Mmmm - I'm not at all happy now I've played with it ... is there any way >> I can get the text to take the space it needs? (rather than using spacer >> notes?) I've tried \textLengthOn - that doesn't seem to work. > > The ideal solution would be for da capo, dal segno and codas to be > handled (somehow) by the \repeat and \unfoldRepeats constructs, - > wishful thinking? Well, we have \alternatives, one could have \coda _after them (without argument), and markers for placing the coda and segno signs. Another thing with repeats: it is not uncommon to have things like different dynamics on different repeats, and in particular with accordions, it is common to have different registers (=midi instruments?) and octavations on different repeats. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: Codas / TriosHi David,
> The ideal solution would be for da capo, dal segno and codas to be > handled (somehow) by the \repeat and \unfoldRepeats constructs Agreed. > wishful thinking? Not really... this is open source software! ;) 1. Anything that can be done "manually" can be automated with Scheme. 2. Anyone could provide a patch to the base code that would do what is necessary without a macro. The only question is, who will write the macro(s) and/or patch(es)? Cheers, Kieren. _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
|
|
|
Re: Codas / TriosIn message <200910251431550000@1682723281>, David Pounder
<pounderd@...> writes > > >> ------- Original Message ------- >> From: Kieren MacMillan <kieren_macmillan@...> >> To: David Pounder <pounderd@...> >> Sent: 25.10.09, 13:28:05 >> Subject: Re: Codas / Trios >> >> Hi David, >> >> > The ideal solution would be for da capo, dal segno and codas to be >> > handled (somehow) by the \repeat and \unfoldRepeats constructs >> >> Agreed. >> >> > wishful thinking? >> >> Not really... this is open source software! ;) >> 1. Anything that can be done "manually" can be automated with >> Scheme. >> 2. Anyone could provide a patch to the base code that would do >> what is necessary without a macro. >> >> The only question is, who will write the macro(s) and/or patch(es)? >> >> Cheers, >> Kieren. > >I suppose I asked for that :) > >I'll go and read the contributor's guide, but I think I may be out of >my depth as I haven't touched functional programming for decades... > because the piece I'm setting it isn't a coda. It's just that the coda example does pretty much what I want. To summarise my current problem, I want to stop the staff, put text where the staff would be, then resume the staff. I've got it working roughly as I want, but because the staff takes priority I need to put spacer rests in to make room for the text. And if lily compresses the music to make it fit, suddenly there's no room for my text and it gets bumped out of the way :-( Actually, I think it's the clef that's the problem, when I put a clef in, it collides with the text and bumps the text out of the way. Actually, that's probably why \longTextOn didn't work - it's probably not meant to work with clefs! Is there any setting that will make text take priority over a clef and push the clef out the way? Cheers, Wol -- Anthony W. Youngman - anthony@... _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: Codas / TriosHi Wol,
> Actually, I think it's the clef that's the problem Why not override the clef stencil with something that includes the clef and (to the left) a whiteout-ed box of text? That might work, no? Cheers, Kieren. _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: Codas / TriosDavid Pounder schrieb:
> >> ------- Original Message ------- >> From: Kieren MacMillan <kieren_macmillan@...> >> To: David Pounder <pounderd@...> >> Sent: 25.10.09, 13:28:05 >> Subject: Re: Codas / Trios >> >> Hi David, >> >> >>> The ideal solution would be for da capo, dal segno and codas to be >>> handled (somehow) by the \repeat and \unfoldRepeats constructs >>> >> Agreed. >> >> >>> wishful thinking? >>> >> Not really... this is open source software! ;) >> 1. Anything that can be done "manually" can be automated with >> Scheme. >> 2. Anyone could provide a patch to the base code that would do >> what is necessary without a macro. >> >> The only question is, who will write the macro(s) and/or patch(es)? >> >> Cheers, >> Kieren. >> > > I suppose I asked for that :) > > I'll go and read the contributor's guide, segno/coda constructs. What I have experienced so far is the following: 1) if you want a new feature, you'll have to start for yourself 2) once you have started and run into problems, the lilypond community gives all the support you need to go on. It took me some time to get to 1) but then ... ;-) > but I think I may be out of my depth as I haven't touched functional programming for decades... > As Graham pointed out in another thread, a lot of contributors aren't software specialists/programmers, but that's not the point. You'll just have to start. Marc > - David. > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@... > http://lists.gnu.org/mailman/listinfo/lilypond-user > > _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
| Free embeddable forum powered by Nabble | Forum Help |