Re: volta problem plus a new issue question concerning volta

2014-12-21 Thread Jay Hamilton
Hi- Kieren's solution worked and Mark's didn't yet I can't see the 
difference.except in the results.  As for Kieren's question, I 
lazily used a template to get this going and didn't delete that now I 
have.


So the next part=
it doesn't work to put a break between the endings
\mark #10
bes2 b! c \breathe c,4.\downbow (bes8) a1\upbow |}
\alternative {
{d2 ~ d8 d e fis} {d2 d,} }\bar "||"
the page I'm doing for the student has the 2nd ending on the next line 
but if I put a break between the {}\break{} it screws everything up


Thanks for the finding the mistake that I just didn't catch.
Jay


Message: 2
Date: Sat, 20 Dec 2014 21:30:51 -0800
From: "Mark Stephen Mrotek" 
To: "'Jay Hamilton'" ,   "'Lilypond User'"

Subject: RE: Re; Volta problem
Message-ID: <000901d01cdf$493ddc60$dbb99520$@ca.rr.com>
Content-Type: text/plain;   charset="us-ascii"

Jay,

The format for alternative endings: \alternative { {} {} }.

See this does what you want.

\alternative {{ g2. ~ g2.\breathe } {g2.\fermata}}

Mark


Hi Jay,

The 1st ending should be after the tied g2. ~ g and it's not.  What have 
I got wrong?


Alternative takes a **brace-enclosed** set of [possibly brace-enclosed] 
expressions:


\alternative { { alt1 } { alt2 } }

Below is your snippet, heavily re-formatted (because I found your 
version very hard to read/follow) — note how


  \alternative { g2. ~ g2.}\breathe {g2.\fermata}

has become

  \alternative { { g2. ~ g2. \breathe } { g2.\fermata } }

which, I believe, gives you what you want.

Hope this helps!
Kieren.

p.s.
I'm not interested in the midi for it.

Then why include the \midi {} block at all? (I’ve commented it out in my 
revision.)

_

\version "2.18.2"

#(ly:set-option 'delete-intermediate-files #t)
#(set-default-paper-size "letter" )
#(set-global-staff-size 18)

\header {
 title = "Overture- Lully"
}

\paper {
  indent = 30
  short-indent = 15
  right-margin = 30
  top-margin = 15
  bottom-margin = 15
}

voice = \relative c {
  \key f \major
  \time 4/4
  \tempo "Gravement"
  \override Staff.TimeSignature #' style = #' ()
  \override Score.BarNumber #'break-visibility = #end-of-line-invisible
  \set Score.markFormatter = #format-mark-box-numbers
  \clef bass
  \set Score.skipBars = ##t
  \time 3/4
  \repeat volta 2 {
\mark #80
d4 d\downbow a  |
c d8( c bes a)   |
bes4.->\downbow a8\upbow g4->\downbow   |
c, d2->\downbow |
  }
  \alternative { { g2. ~ g2. \breathe } { g2.\fermata } }
  \bar "|."
}

\score {
  \new Staff \voice
  \layout { \context { \Score \remove "Bar_number_engraver" } }
  %\midi { }
}
___

Kieren MacMillan, composer
www:  
email:  i...@kierenmacmillan.info

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


Re: volta problem plus a new issue question concerning volta

2014-12-21 Thread Kieren MacMillan
Hi Jay,

On Dec 21, 2014, at 8:06 AM, Jay Hamilton  wrote:

> it doesn't work to put a break between the endings

  \alternative { { g2. ~ g2. \breathe \break } { g2.\fermata } }

Hope this helps!
Kieren.
___

Kieren MacMillan, composer
www:  
email:  i...@kierenmacmillan.info


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


Re: volta problem plus a new issue question concerning volta

2014-12-21 Thread tisimst
Jay,

The issue is that the "\alternative" function can't have ANYTHING 
outside of the compound expression brackets {...}. If you need a 
"\break", "\pageBreak", or a "\bar" or barcheck "|", they need to be 
inside one of the {...} sections like:

\alternative { { ... \break } {...} } or \alternative { {... | } {...} }

and not

\alternative { {...} \break {...} } or \alternative { {...} | {...} }

Nice work, Kieren!

-Abraham

On Sun, Dec 21, 2014 at 7:44 AM, Kieren MacMillan [via Lilypond] 
 wrote:
> Hi Jay, 
> 
> On Dec 21, 2014, at 8:06 AM, Jay Hamilton <[hidden email]> wrote: 
> 
> > it doesn't work to put a break between the endings 
> 
>   \alternative { { g2. ~ g2. \breathe \break } { g2.\fermata } } 
> 
> Hope this helps! 
> Kieren. 
> ___ 
> 
> Kieren MacMillan, composer 
> www:  <http://www.kierenmacmillan.info> 
> email:  [hidden email] 
> 
> 
> ___ 
> lilypond-user mailing list 
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> If you reply to this email, your message will be added to the 
> discussion below:
> http://lilypond.1069038.n5.nabble.com/Re-volta-problem-plus-a-new-issue-question-concerning-volta-tp169546p169549.html
> To start a new topic under User, email 
> ml-node+s1069038n...@n5.nabble.com 
> To unsubscribe from Lilypond, click here.
> NAML




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-volta-problem-plus-a-new-issue-question-concerning-volta-tp169546p169550.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