Re: Another unterminated crescendo issue
Thank you both for the solutions, as well as helping gain a greater understanding of lilypond. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Another unterminated crescendo issue
Ivan Kuznetsovwrites: > Hello all: > > I don't understand why I am getting the error: > > warning: unterminated crescendo > \new Voice {\voiceTwo r8 d8 bf8 r8 a8 > \< cs8 } > > as both the crescendo start and end points (\< and \f) are > in \voiceTwo. \voiceTwo is just the style of typesetting, not an actual voice context. When you say \new Voice, you _indeed_ get a new Voice. In this case there was no actual need to switch back to a single Voice as stuff like | and \time 3/4 will work fine inside of a Voice (and the latter has effect for the entire Score unless you take special measures). Here is one possibility to hook into a preexisting voice (does not work as soon as any musical time actually passed: in that case the respective voices are retired and new ones created as necessary). \version "2.19.65" \include "english.ly" \score { \new Staff = "guitar" { \clef "treble_8" \time 6/8 \voices 1,2 << {f'!4.fs'4.} \\ {r8 d8 bf8 r8 a8\< cs8 } >> | \time 3/4 \voices 1,2 << {r4. g'8 b4 } \\ { 2.\f } >> } \layout { \context { \Score proportionalNotationDuration = #(ly:make-moment 1/16) } } } However, in this case there is no other voice started earlier than the split voices, so LilyPond will take Voice "1" as its default voice to continue (and use for \oneVoice and similar). To avoid that, putting another \new Voice around the bulk of your music. That will then be the default voice outside of the << >> constructs. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Another unterminated crescendo issue
Hi Ivan, > I don't understand why I am getting the error: > warning: unterminated crescendo > \new Voice {\voiceTwo r8 d8 bf8 r8 a8 >\< cs8 } > as both the crescendo start and end points (\< and \f) are > in \voiceTwo. But they're in two DIFFERENT \voiceTwos… =) Try this: > \context Voice = "two" {\voiceTwo r8 d8 bf8 r8 a8\< cs8 } ... > \context Voice = "two" {\voiceTwo2.\f } Hope that helps! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Another unterminated crescendo issue
Hello all: I don't understand why I am getting the error: warning: unterminated crescendo \new Voice {\voiceTwo r8 d8 bf8 r8 a8 \< cs8 } as both the crescendo start and end points (\< and \f) are in \voiceTwo. I am implementing one of the solutions I received from my "Unterminated Crescendo Issue" thread on August 28 (https://www.mail-archive.com/lilypond-user@gnu.org/msg122126.html) though it does not work here. Thank you for your help. \version "2.19.65" \include "english.ly" \score { \new Staff = "guitar" { \clef "treble_8" \time 6/8 << {\voiceOne f'!4.fs'4.} \new Voice {\voiceTwo r8 d8 bf8 r8 a8\< cs8 } >> \oneVoice | \time 3/4 << {\voiceOne r4. g'8 b4 } \new Voice {\voiceTwo <e, gs>2.\f } >> \oneVoice } \layout { \context { \Score proportionalNotationDuration = #(ly:make-moment 1/16) } } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Thank you to all that responded. I very much appreciate the support of this list. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Ivan Kuznetsovwrites: > And that does work ! > > It does appears to be a subtle variation > of Mr. Kastrup's solution. > > tisimst wrote: >> >> Instead of this: >> >> >> << >> { 8 8\< } >> \\ >> { f,4 } >> >> >> Do this: >> >> >> << >> { \voiceOne 8 8\< } >> \new Voice { \voiceTwo f,4 } >> \oneVoice >> Not at all. It is removing the "\\" from Kieren's otherwise correct solution, that's all. But my proposal was about keeping the "\\" (which creates implicit \context Voice = "..." constructs) in connection with a comparatively new convenience construct. So it's more a correction on Kieren than a "variation" on me. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Ivan Kuznetsovwrites: > David Kastrup wrote: >> >> Ivan Kuznetsov writes: >>> >>> Is the only solution to define the problem measure as >>> a macro (themusic) and then insert that >>> macro at the appropriate place in the score? >> >> Good grief, no. A macro is completely equivalent to having the text >> inserted at that place. > > Well, when I try to insert your text into > the snippet without using a macro, I > get the same "unterminated crescendo" error. Because you don't just insert the macro but also delete other stuff. > Perhaps you can point out when I did wrong > below? Thanks again. You did not use \new Voice = "main" for the main voice. Consequently, the voice named "main" in the \voices construct was not matched with the main voice and ended at >> . > \version "2.19.65" > \include "english.ly" > > \score { > >\new Staff = "guitar" >{ > #(set-accidental-style 'neo-modern) > \numericTimeSignature > \clef "treble_8" Maybe insert \new Voice = "main" { at this point and add the corresponding } before the } ending the score. > \voices "main",2 > << > { \voiceOne 8[ 8]\< \oneVoice } > \\ > { f,4 } > >> > 8 > 8\f > \times 2/3 { af'16\ff ef'16 c16 } > 4. > >} > > } % \score > -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
And that does work ! It does appears to be a subtle variation of Mr. Kastrup's solution. tisimstwrote: > > Instead of this: > > > << > { 8 8\< } > \\ > { f,4 } >>> > > > Do this: > > > << > { \voiceOne 8 8\< } > \new Voice { \voiceTwo f,4 } >>> > \oneVoice > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
David Kastrupwrote: > > Ivan Kuznetsov writes: >> >> Is the only solution to define the problem measure as >> a macro (themusic) and then insert that >> macro at the appropriate place in the score? > > Good grief, no. A macro is completely equivalent to having the text > inserted at that place. Well, when I try to insert your text into the snippet without using a macro, I get the same "unterminated crescendo" error. Perhaps you can point out when I did wrong below? Thanks again. \version "2.19.65" \include "english.ly" \score { \new Staff = "guitar" { #(set-accidental-style 'neo-modern) \numericTimeSignature \clef "treble_8" \voices "main",2 << { \voiceOne 8[ 8]\< \oneVoice } \\ { f,4 } >> 8 8\f \times 2/3 { af'16\ff ef'16 c16 } 4. } } % \score ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Hi, Ivan! On Mon, Aug 28, 2017 at 12:38 PM, Ivan Kuznetsov [via Lilypond] < ml+s1069038n205320...@n5.nabble.com> wrote: > Mark Stephen Mrotek <[hidden email] > <http:///user/SendEmail.jtp?type=node=205320=0>> wrote: > > > > Perhaps you could code a second voice with spacers and place the > beginning > > and ending of the hairpin exactly. > > I have tried using an extra voice with spacers but have yet to > come up with a solution. > Instead of this: << { 8 8\< } \\ { f,4 } >> Do this: << { \voiceOne 8 8\< } \new Voice { \voiceTwo f,4 } >> \oneVoice Hope that helps, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Unterminated-Crescendo-Issue-tp205311p205322.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Ivan Kuznetsovwrites: > Thank you Mr. Kastrup. > > Whereas the snippet you provided works, I am still > having trouble implementing your solution into > the context of my composition. > > Is the only solution to define the problem measure as > a macro (themusic) and then insert that > macro at the appropriate place in the score? Good grief, no. A macro is completely equivalent to having the text inserted at that place. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Mark Stephen Mrotekwrote: > > Perhaps you could code a second voice with spacers and place the beginning > and ending of the hairpin exactly. I have tried using an extra voice with spacers but have yet to come up with a solution. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Thank you Mr. Kastrup. Whereas the snippet you provided works, I am still having trouble implementing your solution into the context of my composition. Is the only solution to define the problem measure as a macro (themusic) and then insert that macro at the appropriate place in the score? The above does "work" but it makes my score files difficult to read and work with. Is there a way I can implement this solution without having to put the entire measure in a macro? Again, thank you very much for your help. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Ivan Kuznetsovwrote: > Kieren MacMillan wrote: >> >> You need to explicitly extantiate the voices, so that the >> first voice is the main one: > > That was a solution. Thanks. Actually, I spoke too soon. That solution fixed the snippet, but as Mr. Kastrup said, it breaks when I insert it into the actual composition. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Hi David, > here is a nicer way (given a recent enough version of LilyPond) I wondered if that \voices command had made it in yet. Really glad to see it! Now I can (I think?) finally get rid of all my "\split" macros… Thanks, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Kieren MacMillanwrote: > > You need to explicitly extantiate the voices, so that the > first voice is the main one: That was a solution. Thanks. I did have to add the command: \set Timing.beamExceptions = #'() to get rid of a bizarre default beaming though. The warning was: warning: no viable initial configuration found: may not find good beam slope Thanks again. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Unterminated Crescendo Issue
Ivan, Perhaps you could code a second voice with spacers and place the beginning and ending of the hairpin exactly. Mark -Original Message- From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Ivan Kuznetsov Sent: Monday, August 28, 2017 10:24 AM To: lilypond-user Users <lilypond-user@gnu.org> Subject: Unterminated Crescendo Issue Hello All: I need a hairpin crescendo to start on the second eighth-note of beat one (underneath the B-flat/D-flat diad) and continue to the forte under the second eighth-note of beat two (underneath the D/B-flat/G triad). The error message I get is: post01.ly:18:23: warning: unterminated crescendo and the desired crecendo is not created. How might I remedy this? I suspect the error message is because of the way the voices are laid out: Beat one is written as two lilypond-voices, and beats two through four are written as one lilypond-voice. That suspicion still has not suggested solution to me, though. Thanks to all ! %--- \version "2.19.65" \include "english.ly" \score { \new Staff = "guitar" { #(set-accidental-style 'neo-modern) \numericTimeSignature \clef "treble_8" << { 8 8\< } \\ { f,4 } >> 8 8\f \times 2/3 { af'16\ff ef'16 c16 } <e, b g'>4. } \layout { \context { \Score proportionalNotationDuration = #(ly:make-moment 1/16) } % \context } % \layout } % \score ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Kieren MacMillanwrites: > Hi Ivan, > >> I suspect the error message is because of the way >> the voices are laid out: Beat one is written >> as two lilypond-voices > > You need to explicitly extantiate the voices, so that the first voice is the > main one: > > SNIPPET BEGINS > \version "2.19.64" > \include "english.ly" > > themusic = { > \clef "treble_8" > << > { \voiceOne 8[ 8]\< } > \\ > \new Voice { \voiceTwo f,4 } > >> \oneVoice > 8 > 8\f > \times 2/3 { af'16\ff ef'16 c16 } > 4. > } > > { \themusic } > SNIPPET ENDS > > Hope this helps, > Kieren. Unlikely, since it works by accident more than anything else. To wit, writing \new Voice { \themusic } already breaks it, and so would most other changes. The problem is that you kept "\\" around which then creates an implicit \context Voice = "1" which then only survives into the common part because LilyPond will not let every voice die but keep the first one around. Removing \\ would be good, but here is a nicer way (given a recent enough version of LilyPond) that doesn't and is a bit more transparent about what it does: \version "2.19.64" \include "english.ly" themusic = { \clef "treble_8" \voices "main",2 << { \voiceOne 8[ 8]\< \oneVoice } \\ { f,4 } >> 8 8\f \times 2/3 { af'16\ff ef'16 c16 } 4. } \new Voice = "main" { \themusic } -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unterminated Crescendo Issue
Hi Ivan, > I suspect the error message is because of the way > the voices are laid out: Beat one is written > as two lilypond-voices You need to explicitly extantiate the voices, so that the first voice is the main one: SNIPPET BEGINS \version "2.19.64" \include "english.ly" themusic = { \clef "treble_8" << { \voiceOne 8[ 8]\< } \\ \new Voice { \voiceTwo f,4 } >> \oneVoice 8 8\f \times 2/3 { af'16\ff ef'16 c16 }4. } { \themusic } SNIPPET ENDS Hope this helps, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Unterminated Crescendo Issue
Hello All: I need a hairpin crescendo to start on the second eighth-note of beat one (underneath the B-flat/D-flat diad) and continue to the forte under the second eighth-note of beat two (underneath the D/B-flat/G triad). The error message I get is: post01.ly:18:23: warning: unterminated crescendo and the desired crecendo is not created. How might I remedy this? I suspect the error message is because of the way the voices are laid out: Beat one is written as two lilypond-voices, and beats two through four are written as one lilypond-voice. That suspicion still has not suggested solution to me, though. Thanks to all ! %--- \version "2.19.65" \include "english.ly" \score { \new Staff = "guitar" { #(set-accidental-style 'neo-modern) \numericTimeSignature \clef "treble_8" << { 8 8\< } \\ { f,4 } >> 8 8\f \times 2/3 { af'16\ff ef'16 c16 }4. } \layout { \context { \Score proportionalNotationDuration = #(ly:make-moment 1/16) } % \context } % \layout } % \score ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user