Re: Lyrics and Barchecks

2024-04-25 Thread Steve Carlock
William,

Thanks.  I agree that the barcheck warning message is cryptic.  It appears
that this issue happens when the lyric is attached to notes that are tied
across a measure boundary.  Unfortunately I can't change the third measure
- that motif from my simple example is used frequently in the pieces I am
working on at the moment.  It's a catch-22.  I start ignoring the barcheck
warnings because of the lyrics that cross measure boundaries and then miss
the legit warnings from where I've messed up the lyrics.  The good news is
that even with the warnings, the output is exactly what I need it to be.

Thanks
 -steve

On Tue, Apr 23, 2024 at 7:02 PM William Rehwinkel <
will...@williamrehwinkel.net> wrote:

> Dear Steve,
>
> I think the reason for this is hinted at by the cryptic "5/8" in the
> barcheck failure message. The "mine" at the end of the first measure
> extends all the way until the next note ("I"), which is not at the
> beginning of a bar, causing the barcheck to fail. If you try the
> following example which is identical except for removing "\skip |" which
> doesn't do anything and changing the notes of the third measure, the
> barcheck warning goes away.
>
> I think the only way to deal with this is to put barline checks in
> lyrics only when the lyric is on the first beat of the measure.
>
> Thanks,
> -William
>
> %
> \version "2.25.6"
> \language "english"
>
> <<
> \new Staff { \relative c' {
>f8 4 f8 f4 8 f8~ |
>4 r4 r2 |
>4 4
>%r2 r8 f8 4 |
>}
> }
>\addlyrics { \lyricmode {
>  This Lit -- tle star -- O -- mine __ |
>  I said |
>  }
>}
>  >>
>
>
> On 4/23/24 20:52, Steve Carlock wrote:
> > I'm confused.  Given the following:
> >
> > %
> > \version "2.24.3"
> > \language "english"
> >
> > <<
> > \new Staff { \relative c' {
> >f8 4 f8 f4 8 f8~ |
> >4 r4 r2 |
> >r2 r8 f8 4 |
> >}
> > }
> >\addlyrics { \lyricmode {
> >  This Lit -- tle star -- O -- mine __ |
> >  \skip |
> >  I said |
> >  }
> >}
> >  >>
> > %
> >
> > I get a barcheck warning on the first measure of lyrics.  I can resolve
> > it by adding a \skip to the end of the lyrics for the first measure, by
> > removing the bar at the end of the first measure of lyrics, or by
> > removing the third measure completely (both music and lyric).
> >
> > I have 6 notes in the first measure and 6 syllables in the lyrics so I
> > don't understand why I'm getting a barcheck warning, especially because
> > if you take out the third measure of music you don't get the warning.
> >
> > (In all cases the layout is exactly what I'm expecting/wanting).
> >
> > Please help me see the error of my ways.
> > Thanks!
> >   -steve
> >
> > Version Info:
> > Lilypond: 2.24.3
> > Frescobaldi: 3.2
> > Extension API: 0.9.0
> > Python: 3.10.12
> > python-ly: 0.9.6
> > Qt: 5.15.3
> > PyQt: 5.15.6
> > sip: 6.5.1
> > qpageview: 0.6.2
> > poppler: 22.2.0
> > python-poppler-qt: 0.75.0
> > OS: Linux-5.15.0-102-generic-x86_64-with-glibc2.35
>
> --
> William Rehwinkel - Oberlin College and Conservatory '24
>
> will...@williamrehwinkel.net
>
> PGP key: https://ftp.williamrehwinkel.net/pubkey.txt
>


Lyrics and Barchecks

2024-04-23 Thread Steve Carlock
I'm confused.  Given the following:

%
\version "2.24.3"
\language "english"

<<
\new Staff { \relative c' {
  f8 4 f8 f4 8 f8~ |
  4 r4 r2 |
  r2 r8 f8 4 |
  }
}
  \addlyrics { \lyricmode {
This Lit -- tle star -- O -- mine __ |
\skip |
I said |
}
  }
>>
%

I get a barcheck warning on the first measure of lyrics.  I can resolve it
by adding a \skip to the end of the lyrics for the first measure, by
removing the bar at the end of the first measure of lyrics, or by removing
the third measure completely (both music and lyric).

I have 6 notes in the first measure and 6 syllables in the lyrics so I
don't understand why I'm getting a barcheck warning, especially because if
you take out the third measure of music you don't get the warning.

(In all cases the layout is exactly what I'm expecting/wanting).

Please help me see the error of my ways.
Thanks!
 -steve

Version Info:
Lilypond: 2.24.3
Frescobaldi: 3.2
Extension API: 0.9.0
Python: 3.10.12
python-ly: 0.9.6
Qt: 5.15.3
PyQt: 5.15.6
sip: 6.5.1
qpageview: 0.6.2
poppler: 22.2.0
python-poppler-qt: 0.75.0
OS: Linux-5.15.0-102-generic-x86_64-with-glibc2.35


Re: Tie not working as expected

2023-01-31 Thread Steve Carlock
Jean,

Thank you for approving my email - I did subscribe using the website and
confirmed the email (and have logged into my account page successfully)
prior to sending my email to the list. Maybe I was impatient and needed to
wait a day for the account setup to completely process.

Thank you all for catching my silly typo - it frequently takes a second set
of eyes to catch those types of errors.

The reason I was using the ties inside the chord instead of on the chord as
a whole is that, in the piece I am working on, there are frequently chords
where not all notes are tied, so I was trying to be consistent in my coding
pattern for all tied chords.  I may rethink that decision.

Thanks again.


On Tue, Jan 31, 2023 at 1:13 PM Jean Abou Samra  wrote:

> Hello,
>
> Welcome to this list. I had to approve your message manually
> because you are not subscribed to the list yet. Please fix this
> by subscribing on https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> On 31/01/2023 22:04, Steve Carlock wrote:
> > New Lilypond user here.  The following code is not working as I expect:
> >
> > \version "2.24.0"
> > \language "english"
> >
> > \score {
> >   <<
> >   \new Staff {
> > \key d \major
> > \time 4/4
> > \relative c' {
> >   1 | 1 | g~1 | g2 2 |
> > }
> >   }
> >   >>
> >   \layout { }
> > }
> >
> >
> > I expect to see 4 measures with ties between measures 1 and 2, and then
> 3 and 4.  Instead I am seeing 5 measures with an extra whole note in
> measure 4 tied to measure 3.  (Image attached).
> >
> > What am I doing wrong?
>
>
>
> The order of elements for a note is
>
>   
>
>
> In "g~1", you have
>
>   
>
> Thus the "g~" part is understood as a g note that implicitly
> inherits the duration of the previous note, with a tie, and
> the "1" part is the duration of a new note, which inherits
> the pitch of the previous note. You want "g1~" instead.
>
> By the way, you can simplify
>
> 1
>
> into
>
> 1~
>
> Jean
>
>


Tie not working as expected

2023-01-31 Thread Steve Carlock
New Lilypond user here.  The following code is not working as I expect:

\version "2.24.0"
\language "english"

\score {
  <<
  \new Staff {
\key d \major
\time 4/4
\relative c' {
  1 | 1 | g~1 | g2 2 |
}
  }
  >>
  \layout { }
}


I expect to see 4 measures with ties between measures 1 and 2, and then 3
and 4.  Instead I am seeing 5 measures with an extra whole note in measure
4 tied to measure 3.  (Image attached).

What am I doing wrong?

Version info:
LilyPond 2.24.0 (running Guile 2.2)
Frescobaldi Version 3.0.0
Linux Mint 20.3 (in a virtual machine if it matters).

Thanks!