Re: Multiple Endings Problem

2015-01-02 Thread Thomas Morley
2015-01-02 10:34 GMT+01:00 Hans Aberg haber...@telia.com:

 On 2 Jan 2015, at 02:36, William Marchant wmarch...@eastlink.ca wrote:

 I am using the code below to set up two different endings for a song.  The 
 code shown automatically puts
 a Repeat Start bar line at the beginning of  of Bar 29.  I would like to 
 suppress it but can only do so with a Tick Bar Line.  This looks a bit odd. 
 No other Bar Line seems to work.  Is there a method for what I want to do?
 Bill

 \repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar :|.} %Bar 30 31  32
{c2 e4( d' | c1) |c4( c bf) a( |
 c4. bf8 a4 bf)} %Bar 33 34 35 36
  }

 There may be a bug: with some bars added ahead, one should be able to use 
 \bar |, but it still typesets \bar .|:. One can use \bar , though.

 The \bar :|.” above is unnecessary. Also, if the \repeat volta does not 
 encompass all music repeated, \unfoldRepeats will not expand MIDI correctly.



\version 2.19.15

\language english

\relative c' {
c1
\once \set Staff.whichBar = #|
\repeat volta 2 {  bf'8~ bf a a g4( f)| } %Bar 29
  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) } %Bar 30 31  32
{c2 e4( d' | c1) |c4( c bf) a( |
 c4. bf8 a4 bf)} %Bar 33 34 35 36
  }
}

-Harm

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


Re: Multiple Endings Problem

2015-01-02 Thread Hans Aberg

 On 2 Jan 2015, at 02:36, William Marchant wmarch...@eastlink.ca wrote:
 
 I am using the code below to set up two different endings for a song.  The 
 code shown automatically puts
 a Repeat Start bar line at the beginning of  of Bar 29.  I would like to 
 suppress it but can only do so with a Tick Bar Line.  This looks a bit odd. 
 No other Bar Line seems to work.  Is there a method for what I want to do?
 Bill
 
 \repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar :|.} %Bar 30 31  32
{c2 e4( d' | c1) |c4( c bf) a( |
 c4. bf8 a4 bf)} %Bar 33 34 35 36
  }

There may be a bug: with some bars added ahead, one should be able to use \bar 
|, but it still typesets \bar .|:. One can use \bar , though.

The \bar :|.” above is unnecessary. Also, if the \repeat volta does not 
encompass all music repeated, \unfoldRepeats will not expand MIDI correctly.



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


Re: Multiple Endings Problem

2015-01-02 Thread Nick Payne

On 02/01/2015 12:36, William Marchant wrote:
I am using the code below to set up two different endings for a song. 
The code shown automatically puts
a Repeat Start bar line at the beginning of  of Bar 29.  I would like 
to suppress it but can only do so with a Tick Bar Line.  This looks a 
bit odd. No other Bar Line seems to work.  Is there a method for what 
I want to do?

Bill

 \repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar :|.} %Bar 30 
31  32

{c2 e4( d' | c1) |c4( c bf) a( |
 c4. bf8 a4 bf)} %Bar 33 34 35 36
  }


Are you actually repeating, or just allowing allowing two alternative 
endings? If the latter, why not use an ossia instead.


Nick





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


Re: Multiple Endings Problem

2015-01-02 Thread Johan Vromans
On Fri, 2 Jan 2015 03:30:35 +0100
Thomas Morley thomasmorle...@gmail.com wrote:

 After inserteing statements for version, language and relative c' i've
 got the attached output.
 Can't see a problem

If you put some measures before this code, you'll notice the |: bar .

-- Johan

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


Re: Multiple Endings Problem

2015-01-02 Thread William Marchant
The code suggested by Thomas Morley, using the \once \set Staff 
line  solves my problem.
The bug, if it is one seems to lie in the fact that other code precedes 
my example code.  I did not realise that my code would run correctly 
without the preceding code.  An ossia would not suit me because I wanted 
the horizontal lines which designate which verses of the song the 
endings were to follow.  Thanks for all the replies.

Bill

On 15-01-02 07:06 AM, Thomas Morley wrote:

2015-01-02 10:34 GMT+01:00 Hans Aberg haber...@telia.com:

On 2 Jan 2015, at 02:36, William Marchant wmarch...@eastlink.ca wrote:

I am using the code below to set up two different endings for a song.  The code 
shown automatically puts
a Repeat Start bar line at the beginning of  of Bar 29.  I would like to 
suppress it but can only do so with a Tick Bar Line.  This looks a bit odd. No 
other Bar Line seems to work.  Is there a method for what I want to do?
Bill

\repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar :|.} %Bar 30 31  32
{c2 e4( d' | c1) |c4( c bf) a( |
 c4. bf8 a4 bf)} %Bar 33 34 35 36
  }

There may be a bug: with some bars added ahead, one should be able to use \bar |, but it still 
typesets \bar .|:. One can use \bar , though.

The \bar :|.” above is unnecessary. Also, if the \repeat volta does not 
encompass all music repeated, \unfoldRepeats will not expand MIDI correctly.



\version 2.19.15

\language english

\relative c' {
c1
\once \set Staff.whichBar = #|
\repeat volta 2 {  bf'8~ bf a a g4( f)| } %Bar 29
   \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) } %Bar 30 31  32
 {c2 e4( d' | c1) |c4( c bf) a( |
  c4. bf8 a4 bf)} %Bar 33 34 35 36
   }
}

-Harm





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


Re: Multiple Endings Problem

2015-01-01 Thread Thomas Morley
2015-01-02 2:36 GMT+01:00 William Marchant wmarch...@eastlink.ca:
 I am using the code below to set up two different endings for a song.  The
 code shown automatically puts
 a Repeat Start bar line at the beginning of  of Bar 29.  I would like to
 suppress it but can only do so with a Tick Bar Line.  This looks a bit odd.
 No other Bar Line seems to work.  Is there a method for what I want to do?
 Bill

  \repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
   \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar :|.} %Bar 30 31  32
 {c2 e4( d' | c1) |c4( c bf) a( |
  c4. bf8 a4 bf)} %Bar 33 34 35 36
   }

After inserteing statements for version, language and relative c' i've
got the attached output.
Can't see a problem

Cheers,
  Harm

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


Multiple Endings Problem

2015-01-01 Thread William Marchant
I am using the code below to set up two different endings for a song.  
The code shown automatically puts
a Repeat Start bar line at the beginning of  of Bar 29.  I would like to 
suppress it but can only do so with a Tick Bar Line.  This looks a bit 
odd. No other Bar Line seems to work.  Is there a method for what I want 
to do?

Bill

 \repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar :|.} %Bar 30 31  32
{c2 e4( d' | c1) |c4( c bf) a( |
 c4. bf8 a4 bf)} %Bar 33 34 35 36
  }

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


Re: Multiple Endings Problem

2015-01-01 Thread Thomas Morley
2015-01-02 3:30 GMT+01:00 Thomas Morley thomasmorle...@gmail.com:
 2015-01-02 2:36 GMT+01:00 William Marchant wmarch...@eastlink.ca:
 I am using the code below to set up two different endings for a song.  The
 code shown automatically puts
 a Repeat Start bar line at the beginning of  of Bar 29.  I would like to
 suppress it but can only do so with a Tick Bar Line.  This looks a bit odd.
 No other Bar Line seems to work.  Is there a method for what I want to do?
 Bill

  \repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
   \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar :|.} %Bar 30 31  32
 {c2 e4( d' | c1) |c4( c bf) a( |
  c4. bf8 a4 bf)} %Bar 33 34 35 36
   }

 After inserteing statements for version, language and relative c' i've
 got the attached output.
 Can't see a problem

 Cheers,
   Harm

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