Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Michael Wagner
I am seeing some behavior I don’t understand. I have ended the music for 
“Silver Bells” into lilypond, and I am seeing a puzzling error.

The song is in 3/4 time, but the rest in measure 33 seems to betaking 4 beats - 
I get a bar check failed and there are one two rests in measure 34, and an 
extra measure is inserted at the end.

What am I doing wrong? 

The offending r1 is on the 3rd line of the first branch of the alternative 
below - and if I change that r1 to “r4 r4 r4”,  or to “r2.”, the issue goes 
away.

\version "2.18.2"
\include "predefined-guitar-fretboards.ly"
\language "english"

\header {
  title = "Silver Bells"
  composer  = \markup \column \center-align {
"Music and Words by"
"JAY LIVINGSTON and"
"RAY EVANS"
  }
  arranger = ""
  poet = ""
}

\paper {
  #(set-paper-size "letter")
}

global = {
  \autoBeamOff
  \numericTimeSignature
  \time 3/4
  \key bf  \major
  \tempo "Moderately and Tenderly"
}

melody = \relative c' 
{
   \global
\partial 4 { g'8 bf8 }
\repeat volta 2 
{
  f4 d4 bf'8 g8 |
  f4 d4 d'8 c8 |
  bf4 g4 g4 |
  \break
  
  g2 c8 bf 8 |
  a4 f4 e4 |
  ef?4 f4. ef8 |
  ef4 d2~ |
  \break
  
  d4 r4 bf'8 g8 |
  f4 d4 bf'8 g8 |
  f4 d4 d'8 c8 |
  bf4 g4 g4 |
  \break
  
  g2 c8 bf8 |
  a4 f4 e4 |
  ef?4 f4 c'4 |
  bf2.~ |
  \break
  
  bf2. |
  d,8 ef8 f2~ |
  f2. |
  g8 a8 bf2~ |
  \break
  
  bf2. |
  a4 a4 bf4 |
  c2 bf8 a8 | 
  bf4 f2~ |
  \break
  
  f2 r4 |
  d8 ef8 f2~ |  
  f2. |
  g8 a8 bf2~ |
  \break
  
  bf2. |
  a4 a4 bf4 |
  c4 bf4 a4 |
  \break
  
}
\alternative {
  {
bf2.~ |
bf2 r4 |
r1  |
r4 r4 bf8 g8 |
\break
  }
  {
bf2.~ |
bf2. |
r1   |
r1  \bar "|."
  }
}  
   
\tuplet 3/2 {} 
 }

first_verse = \lyricmode {
  Ci -- ty side -- walks, bus -- y side -- walks dressed in hol -- i -- day 
style.
  In the air there's a  feel -- ing of Christ -- mas. __
  Child -- ren laugh -- ing, peo -- ple pass -- ing,
  meet -- ing smile af -- ter smile,
  And on ev -- 'ry street cor -- ner you hear: __
  Sil -- ver bells, __ sil -- ver bells, __
  It's Christ -- mas time in the city -- y.
  Ring -- a -- ling, __hear them ring, __
  Soon it will be Christ -- mas day. __ 
  Strings of 
  day. __
}

second_verse = \lyricmode {
  " " " " street lights, ev -- en stop lights blink red and green,
  As the shop -- pers rush home with their treas -- ures. __
  Hear the snow crunch, see the kids bunch,
  this is Santa's big scene,
  And a -- bove all this bus -- tle you hear:
  
}

transposed = \transpose c' c { \clef bass \melody } 

\score {
  <<
   %\new Staff { \melody }
   \new Staff \with { instrumentName = "Basoon "} { \transposed }
\addlyrics { \first_verse }
\addlyrics { \second_verse }
  >>
  \layout { }
}

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


Manually set stanza numbers for repeat alternatives

2019-09-11 Thread Michael Wagner
I am entering a song - the Beatle’s “Let It Be - into lilypond where there 
there is a long repeat - “\repeat volta 4 {}”, but there are only 2 
alternatives. Lillypond labels the first alternative “1-3”, and the second 
alternative “4””

But in the song the first alternative is for stanzas 1 and 3, second 
alternative for verses 2 and 4.  

For those who recall the song the first and third verse ends with “Whis — per 
words of wis — dom, let it be. (Verse 2) And when __“. The second and fourth 
verses end with “There will an answer, let it be.”

I can’t figure out how to set the stanza numbers for the first alternative to 
“1.3”,  and for the second alternative to “2.4”. I looked at the manual, and 
the only info I found seemed to be pretty complicated, repeatCommands to a 
scheme style list, which has some pretty obscure syntax for a non-scheme 
programmer.

Is there some simple way to do this?

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


Re: Change position of first bar of melody

2019-08-28 Thread Michael Wagner
How is this different from a partial (ie, a pickup) note. Will “\partial 8 
{c8}” do what you want?

Mike

Sent from my iPhone

> On Aug 28, 2019, at 16:19, Frederik Hanghøj Iversen  
> wrote:
> 
> I'd like to change it so that the first bar on my sheet is after the first 
> note in my melody. Currently I'm working around this by having my melody 
> start with rests so that everything lines up. I'd like to not have those 
> rests on my sheet however.
> 
> I hope I'm explaining this well. I'm a bit of a novice. This particular piece 
> of music does what I'm referring to:
> 
> https://www.musikipedia.dk/billeder/dendanskesang.gif
> 
> Is this possible in Lilypond?
> 
> -- 
> Regards
> Frederik Hanghøj Iversen
> ___
> 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