Re: Solution to have repeats with upbeat and different alternatives??

2018-05-18 Thread steve

Thats it!!

 thanx - steve

> On 2018-05-17 10:22, st...@linuxsuite.org wrote:
>> I posted a piece of simplified code to illustrate. This is what
>> the default does
>> isnt 'it??
>>
>>
>> https://ln.sync.com/dl/2d42a9350/ukfaa7s8-rpenm7ne-xqxv7mpk-x99vbzbw
>>
>> [ . . . ]
>>
>>   the code below prints an extraneous bar in the second alternative
>> at
>> the end.
>>
>> [ . . . ]
>>
>> test.ly ***
>>
>>  \version "2.18.2"
>>
>> music = \relative c''
>> {
>> \time 3/4
>>
>> \partial 4 a8 a |
>> a4 a a |
>>
>> \repeat volta2
>> {
>>   b4 b b | b4 b b |
>> }
>> \alternative {
>> { b4 b b | }
>> { c4 c }
>> }
>>
>> \repeat volta 2
>> {
>>  d8 d | d4 d d |
>> }
>> \alternative {
>> { d4 d }
>> { e4 e4 e4 }
>> }
>> }
>>
>> \score { \music }
>
> Using the snippet you provided and running against 2.19.81, I do not see
> the barline you are seeing.  (See attachment: upbeat-repeat.preview.png)
>
> It would seem that the newer version handles implicit partial measures
> automatically.
>
> One option is to use \partial explicitly, however LilyPond 2.18.2 warns
> about this practice.  2.19.81 does not:
>
> 
>\repeat volta 2 { d8 d | d4 d d | }
>\alternative {
>  { \partial 2 d4 d }
>  { e4 e4 e4 | }
>}
> 
>
> You could also simply change time signatures secretly:
>
> 
>\repeat volta 2 { d8 d | d4 d d | }
>\alternative {
>  { \omit Score.TimeSignature \time 2/4 d4 d }
>  { \time 3/4 e4 e4 e4 | }
>}
>\undo \omit Score.TimeSignature
> 
>
> That option seems to work in both 2.18.2 and 2.19.81 without any
> warnings.
>
> -- Aaron Hill___
> 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: Solution to have repeats with upbeat and different alternatives??

2018-05-17 Thread Aaron Hill

On 2018-05-17 10:22, st...@linuxsuite.org wrote:

I posted a piece of simplified code to illustrate. This is what
the default does
isnt 'it??


https://ln.sync.com/dl/2d42a9350/ukfaa7s8-rpenm7ne-xqxv7mpk-x99vbzbw


[ . . . ]

  the code below prints an extraneous bar in the second alternative 
at

the end.

[ . . . ]

test.ly ***

 \version "2.18.2"

music = \relative c''
{
\time 3/4

\partial 4 a8 a |
a4 a a |

\repeat volta2
{
  b4 b b | b4 b b |
}
\alternative {
{ b4 b b | }
{ c4 c }
}

\repeat volta 2
{
 d8 d | d4 d d |
}
\alternative {
{ d4 d }
{ e4 e4 e4 }
}
}

\score { \music }


Using the snippet you provided and running against 2.19.81, I do not see 
the barline you are seeing.  (See attachment: upbeat-repeat.preview.png)


It would seem that the newer version handles implicit partial measures 
automatically.


One option is to use \partial explicitly, however LilyPond 2.18.2 warns 
about this practice.  2.19.81 does not:



  \repeat volta 2 { d8 d | d4 d d | }
  \alternative {
{ \partial 2 d4 d }
{ e4 e4 e4 | }
  }


You could also simply change time signatures secretly:


  \repeat volta 2 { d8 d | d4 d d | }
  \alternative {
{ \omit Score.TimeSignature \time 2/4 d4 d }
{ \time 3/4 e4 e4 e4 | }
  }
  \undo \omit Score.TimeSignature


That option seems to work in both 2.18.2 and 2.19.81 without any 
warnings.


-- Aaron Hill___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution to have repeats with upbeat and different alternatives??

2018-05-17 Thread steve
> Hi Steve,
>
> Just going to chime in here, that I believe it will come out like the
> latter version you prefer by default.
>

I am finished the basic engraving for 3 guitars, but can't get the
repeats the
way they should be.

I posted a piece of simplified code to illustrate. This is what
the default does
isnt 'it??

https://ln.sync.com/dl/2d42a9350/ukfaa7s8-rpenm7ne-xqxv7mpk-x99vbzbw

   or what is the default?

  For interest, here is a page from the first edition, It has
the upbeat
in the repeat but then an obvious error in the first alternative, ie. it
repeats the upbeat at
the end of the bar.

https://ln.sync.com/dl/e1bb35540/twus49gv-5kwieeek-8ajtjrkd-vk72mh4s

 As far as standard practice, every version on imslp publised  after the
first edition
has "fixed" the error by moving the upbeat before the repeat.

I agree that the second version with the upbeat in the repeat is
preferable, but
I can't seem to do it with lilypond.

  the code below prints an extraneous bar in the second alternative at
the end.

   So what is wrong with this code.??  How can we do this, what I
think most modern
engravers would consider more correct?


  thanx - steve


test.ly ***


 \version "2.18.2"

music = \relative c''
{
\time 3/4

\partial 4 a8 a |
a4 a a |

\repeat volta2
{
  b4 b b | b4 b b |
}
\alternative {
{ b4 b b | }
{ c4 c }
}

\repeat volta 2
{
 d8 d | d4 d d |
}
\alternative {
{ d4 d }
{ e4 e4 e4 }
}
}

\score { \music }

>Original is subjective here, some editor did that for some reason in the
> first example.  That's not really standard practice.
>
> Have you started scoring it for guitars yet? Are you experiencing an issue
> getting it to come out the way you want?
>
> Amy
>
> On Thu, May 17, 2018 at 12:07 PM,  wrote:
>
>>
>>Well, I mean it appears that the same thing is scored
>> differently.
>> The first entrance
>> has the upbeat before the repeat. If you look at this link of the first
>> entrance with
>> the downbeat a half note C flat in the third system
>>
>> https://ln.sync.com/dl/e80999780/f4ravrje-6gg923k6-id9vw4ub-4bc39fdp
>>
>>the second entrance,  in this link, the fourth system starts a repeat
>> that includes the upbeat.
>>
>> https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma
>>
>>   The repeat is preceded by a second alternative that is an
>> incomplete measure of 2 beats. Not sure why it is notated
>> differently than its first entrance, in which has the upbeat  in
>> the second
>> alternative that precedes the repeat, but I do prefer the later, and in
>> my
>> arrangement of this work for 3 guitars I want to use the later solution
>> for both
>> for consistency. Or at least I want to maintain the original.
>>
>>  And I can't find a lilypond solution..   and / or a reason why they are
>> notated differently.
>>
>>  -steve
>>
>>
>>
>> > Hi Steve,
>> >
>> > I'm unclear what the problem is. Seems also easy. Can you show your
>> code?
>> >
>> > I am also puzzled about you saying there are several ways to set the
>> first
>> > part. Again, I cant see how one would do it differently to how I
>> showed.
>> > This proves I don't know what you are referring to as your difficulty.
>> Can
>> > you elaborate?
>> >
>> > Keep it on the list - no need for a private chat. Others may
>> understand
>> > better than I what you want.
>> >
>> > Andrew
>> >
>> >
>> > On 18 May 2018 at 00:55,  wrote:
>> >
>> >> >  Hi Steve,
>> >> >
>> >> > Does this sketch help you out?
>> >>
>> >>  Thanks, I am aware of that solution... and there are a
>> couple
>> >> of
>> >> others...
>> >>
>> >>  I am trying to render this second appearance of this after
>> the
>> >> trio. Here is a
>> >> a page. The part I am interested in has the downbeat a C flat  half
>> note
>> >> and the
>> >> upbeat is in the repeat section.. Also the second alternative has 3
>> >> beats
>> >> and continues
>> >> into the coda.
>> >>
>> >> https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma
>> >>
>> >> Not sure why it is different than its first appearance? I
>> prefer
>> >> the later as it moves the entire phrase into the repeat
>> >> section
>> >>
>> >> -steve
>> >>
>> >>
>> > ___
>> > 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
>>
> ___
> 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/listi

Re: Solution to have repeats with upbeat and different alternatives??

2018-05-17 Thread Amy McGlothlin
Hi Steve,

Just going to chime in here, that I believe it will come out like the
latter version you prefer by default.

Original is subjective here, some editor did that for some reason in the
first example.  That's not really standard practice.

Have you started scoring it for guitars yet? Are you experiencing an issue
getting it to come out the way you want?

Amy

On Thu, May 17, 2018 at 12:07 PM,  wrote:

>
>Well, I mean it appears that the same thing is scored differently.
> The first entrance
> has the upbeat before the repeat. If you look at this link of the first
> entrance with
> the downbeat a half note C flat in the third system
>
> https://ln.sync.com/dl/e80999780/f4ravrje-6gg923k6-id9vw4ub-4bc39fdp
>
>the second entrance,  in this link, the fourth system starts a repeat
> that includes the upbeat.
>
> https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma
>
>   The repeat is preceded by a second alternative that is an
> incomplete measure of 2 beats. Not sure why it is notated
> differently than its first entrance, in which has the upbeat  in
> the second
> alternative that precedes the repeat, but I do prefer the later, and in my
> arrangement of this work for 3 guitars I want to use the later solution
> for both
> for consistency. Or at least I want to maintain the original.
>
>  And I can't find a lilypond solution..   and / or a reason why they are
> notated differently.
>
>  -steve
>
>
>
> > Hi Steve,
> >
> > I'm unclear what the problem is. Seems also easy. Can you show your code?
> >
> > I am also puzzled about you saying there are several ways to set the
> first
> > part. Again, I cant see how one would do it differently to how I showed.
> > This proves I don't know what you are referring to as your difficulty.
> Can
> > you elaborate?
> >
> > Keep it on the list - no need for a private chat. Others may understand
> > better than I what you want.
> >
> > Andrew
> >
> >
> > On 18 May 2018 at 00:55,  wrote:
> >
> >> >  Hi Steve,
> >> >
> >> > Does this sketch help you out?
> >>
> >>  Thanks, I am aware of that solution... and there are a couple
> >> of
> >> others...
> >>
> >>  I am trying to render this second appearance of this after the
> >> trio. Here is a
> >> a page. The part I am interested in has the downbeat a C flat  half note
> >> and the
> >> upbeat is in the repeat section.. Also the second alternative has 3
> >> beats
> >> and continues
> >> into the coda.
> >>
> >> https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma
> >>
> >> Not sure why it is different than its first appearance? I prefer
> >> the later as it moves the entire phrase into the repeat
> >> section
> >>
> >> -steve
> >>
> >>
> > ___
> > 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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution to have repeats with upbeat and different alternatives??

2018-05-17 Thread steve

   Well, I mean it appears that the same thing is scored differently.
The first entrance
has the upbeat before the repeat. If you look at this link of the first
entrance with
the downbeat a half note C flat in the third system

https://ln.sync.com/dl/e80999780/f4ravrje-6gg923k6-id9vw4ub-4bc39fdp

   the second entrance,  in this link, the fourth system starts a repeat
that includes the upbeat.

https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma

  The repeat is preceded by a second alternative that is an
incomplete measure of 2 beats. Not sure why it is notated
differently than its first entrance, in which has the upbeat  in
the second
alternative that precedes the repeat, but I do prefer the later, and in my
arrangement of this work for 3 guitars I want to use the later solution
for both
for consistency. Or at least I want to maintain the original.

 And I can't find a lilypond solution..   and / or a reason why they are
notated differently.

 -steve



> Hi Steve,
>
> I'm unclear what the problem is. Seems also easy. Can you show your code?
>
> I am also puzzled about you saying there are several ways to set the first
> part. Again, I cant see how one would do it differently to how I showed.
> This proves I don't know what you are referring to as your difficulty. Can
> you elaborate?
>
> Keep it on the list - no need for a private chat. Others may understand
> better than I what you want.
>
> Andrew
>
>
> On 18 May 2018 at 00:55,  wrote:
>
>> >  Hi Steve,
>> >
>> > Does this sketch help you out?
>>
>>  Thanks, I am aware of that solution... and there are a couple
>> of
>> others...
>>
>>  I am trying to render this second appearance of this after the
>> trio. Here is a
>> a page. The part I am interested in has the downbeat a C flat  half note
>> and the
>> upbeat is in the repeat section.. Also the second alternative has 3
>> beats
>> and continues
>> into the coda.
>>
>> https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma
>>
>> Not sure why it is different than its first appearance? I prefer
>> the later as it moves the entire phrase into the repeat
>> section
>>
>> -steve
>>
>>
> ___
> 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: Solution to have repeats with upbeat and different alternatives??

2018-05-17 Thread Andrew Bernard
Hi Steve,

I'm unclear what the problem is. Seems also easy. Can you show your code?

I am also puzzled about you saying there are several ways to set the first
part. Again, I cant see how one would do it differently to how I showed.
This proves I don't know what you are referring to as your difficulty. Can
you elaborate?

Keep it on the list - no need for a private chat. Others may understand
better than I what you want.

Andrew


On 18 May 2018 at 00:55,  wrote:

> >  Hi Steve,
> >
> > Does this sketch help you out?
>
>  Thanks, I am aware of that solution... and there are a couple of
> others...
>
>  I am trying to render this second appearance of this after the
> trio. Here is a
> a page. The part I am interested in has the downbeat a C flat  half note
> and the
> upbeat is in the repeat section.. Also the second alternative has 3 beats
> and continues
> into the coda.
>
> https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma
>
> Not sure why it is different than its first appearance? I prefer
> the later as it moves the entire phrase into the repeat
> section
>
> -steve
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution to have repeats with upbeat and different alternatives??

2018-05-17 Thread steve

>  Hi Steve,
>
> Does this sketch help you out?

 Thanks, I am aware of that solution... and there are a couple of
others...

 I am trying to render this second appearance of this after the
trio. Here is a
a page. The part I am interested in has the downbeat a C flat  half note
and the
upbeat is in the repeat section.. Also the second alternative has 3 beats
and continues
into the coda.

https://ln.sync.com/dl/17a64e740/7vb6gz87-hi7jxedr-x9rpws6e-tw7z5yma

Not sure why it is different than its first appearance? I prefer
the later as it moves the entire phrase into the repeat
section

-steve
>
> Andrew
>
> 
> \version "2.19.81"
>
> {
>   \time 3/4
>   \key es \major
>   \partial 4  bes8. ees'16 |
>   ees'2 g'8. es'16 |
>   \repeat volta 2
>   {
> es'4 d'4. es'8 |
> R1*3/4^\markup "etc"
>   }
>   \alternative
>   {
> {
>   g'4 f'8 bes'8\rest bes8. es'16 |
>   es'2 g'8. es'16 |
> }
> {
>   g'4 f'8 bes'8\rest
>   \bar "||"
>   bes'8. ces''16
> }
>   }
>   \repeat volta 2
>   {
> ces''2 bes'8 a'\trill |
> R1*3/4^\markup "etc"
>   }
>   \alternative
>   {
> {
>   f''4 es''8 bes'8\rest bes'8. ces''16 |
> }
> {
>   f''4 es''8 bes'8\rest
> }
>   }
>   \bar "|."
> }
> 
>
> By the way, the list is lilypond-user not lilypond-users. Some of your
> email has the latter, which is incorrect.
>
>
> On 17 May 2018 at 22:52,  wrote:
>
>>
>>Ooops..  Opus 31 no 3, "Menuetto"
>>
>>
>>
> Click here to Reply or Forward
>
>
> On 17 May 2018 at 22:52,  wrote:
>
>>
>>Ooops..  Opus 31 no 3, "Menuetto"
>>
>>  -steve
>>
>> > Hi Steve,
>> >
>> > Opus 31 has only three Sonatas, not four. What work are you referring
>> to?
>> >
>> > Dare I say, don't you just have an extra note in the last second
>> > alternative? Perhaps if I could find the Allegretto you are referring
>> to
>> > it
>> > would help see what you are actually asking. Let us know which Sonata.
>> >
>> > Andrew
>> >
>>
>>
>>
>




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution to have repeats with upbeat and different alternatives??

2018-05-17 Thread Andrew Bernard
 Hi Steve,

Does this sketch help you out?

Andrew


\version "2.19.81"

{
  \time 3/4
  \key es \major
  \partial 4  bes8. ees'16 |
  ees'2 g'8. es'16 |
  \repeat volta 2
  {
es'4 d'4. es'8 |
R1*3/4^\markup "etc"
  }
  \alternative
  {
{
  g'4 f'8 bes'8\rest bes8. es'16 |
  es'2 g'8. es'16 |
}
{
  g'4 f'8 bes'8\rest
  \bar "||"
  bes'8. ces''16
}
  }
  \repeat volta 2
  {
ces''2 bes'8 a'\trill |
R1*3/4^\markup "etc"
  }
  \alternative
  {
{
  f''4 es''8 bes'8\rest bes'8. ces''16 |
}
{
  f''4 es''8 bes'8\rest
}
  }
  \bar "|."
}


By the way, the list is lilypond-user not lilypond-users. Some of your
email has the latter, which is incorrect.


On 17 May 2018 at 22:52,  wrote:

>
>Ooops..  Opus 31 no 3, "Menuetto"
>
>
>
Click here to Reply or Forward


On 17 May 2018 at 22:52,  wrote:

>
>Ooops..  Opus 31 no 3, "Menuetto"
>
>  -steve
>
> > Hi Steve,
> >
> > Opus 31 has only three Sonatas, not four. What work are you referring to?
> >
> > Dare I say, don't you just have an extra note in the last second
> > alternative? Perhaps if I could find the Allegretto you are referring to
> > it
> > would help see what you are actually asking. Let us know which Sonata.
> >
> > Andrew
> >
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Solution to have repeats with upbeat and different alternatives??

2018-05-16 Thread Andrew Bernard
Hi Steve,

Opus 31 has only three Sonatas, not four. What work are you referring to?

Dare I say, don't you just have an extra note in the last second
alternative? Perhaps if I could find the Allegretto you are referring to it
would help see what you are actually asking. Let us know which Sonata.

Andrew
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user