[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grace note spacing and barcheck difficulty in bagpipe music
From: |
Ben Beeson |
Subject: |
Re: Grace note spacing and barcheck difficulty in bagpipe music |
Date: |
Thu, 20 Dec 2012 21:29:33 -0800 |
Hi Trevor,
Thanks for your suggestion. I started out with something very similar
to what you have here except I had the whole tune thumped in before I
noted the troubles with the notes colliding with other items like the
time signature etc.
I tried your suggestion and initially got my original results. Then I
noticed that your example has fewer "\time 3/4" than my example did. So
I took those time signatures out one at a time starting from the end to
see what happened. When I removed the second \time 3/4 from the score
block, the tune rendered correctly. That was interesting. I removed
them all except for one last \time 3/4. All was working well.
Then I added the \time 3/4s back one at a time to see if I could find
out if there was a trouble spot in a particular place. As I added all
the time signatures back, it still worked correctly until I added the
second \time 3/4 in the score block. It seems that adding the second
\time 3/4 to the score block is problematic. (example attached below)
I am stumped, but happy. I say that because LilyPond renders the tune
correctly and does not error on bar checks etc unless you have the
second \time 3/4 in the score block. I know that removing the second
\time 3/4 from the score block fixed the problem, and that adding it
back recreated the problem. I thought this was odd since the LilyPond
manual in the section on Changing time signatures inside a polymetric
section using \scaleDurations appears to show an example that has more
than one time signature in the score block. For now I will try to
remember to minimize the use of "\time X/Y" in the scores to avoid
collisions in the future.
If anyone can explain why the extra time signature in the score block is
an issue, I would like to learn about why that is.
Thanks to all of you for your help,
Ben
On Thu, 2012-12-20 at 23:29 +0000, Trevor Daniels wrote:
> Ben
>
> Maybe I've missed something, but you seem to be making this
> far too complicated. Does this not do what you want?
>
> \version "2.14.2"
>
> \include "bagpipe.ly"
>
> FirstVoice = {
> \time 3/4
> \hideKeySignature
> \dble e8. [c16] \dblb b4 \grG a4 |
> \dble e8. [c16] \dblb b4 \grG a4 |
> }
>
> SecondVoice = {
> \hideKeySignature
> \grg c8. [e16] \grg d4 c4 |
> \grg c8. [e16] \grg d4 c4 |
> }
>
> \score {
> \new GrandStaff <<
> \new Staff = "GHB"
> \new Voice {
> \time 3/4
> \FirstVoice
> }
> \new Staff = "GHB" <<
> \new Voice {
> \SecondVoice
> }
> >>
> >>
> }
>
> Trevor
>
> ----- Original Message -----
> From: "Ben Beeson" <address@hidden>
> To: "David Kastrup" <address@hidden>
> Cc: <address@hidden>
> Sent: Thursday, December 20, 2012 2:59 AM
> Subject: Re: Grace note spacing and barcheck difficulty in bagpipe music
>
>
> > Hi David and the rest of the LilyPond users,
> >
> > Sorry for the dwell between messages, I've been trying various things to
> > figure out how to make the \grace {s8} idea work with bagpipe music. So
> > far I have had no luck. I have included an example and some staff
> > images to show how this comes out. What I am striving to achieve is an
> > error free compilation that looks like
> > Snippet_Spacing_grace_example1.pdf. What I get when I try the \grace
> > {s8} looks like the staff output in
> > Snippet_Spacing_grace_meets_bagpipeDoublings.pdf.
> >
> > In the attached LilyPond file, you can switch the comments in the two
> > voices to generate either output and see the compiler errors.
> >
> > I hope the fix is something simple. If I have missed something in your
> > advice to add grace spacing, please point me to it.
> >
> > Thanks in advance,
> >
> > Ben
> >
> >
> > On Wed, 2012-12-19 at 03:31 +0100, David Kastrup wrote:
> >> Ben Beeson <address@hidden> writes:
> >>
> >> > Hi David,
> >> >
> >> > Thanks for pointing me to the issue 34 link. I did not know about that
> >> > before. After reading all that material late last night, I am realizing
> >> > that the fix is going to be a tough one. I guess I was hoping that I
> >> > just missed something simple. Who knew that I was about to walk into a
> >> > minefield? Wow...
> >> >
> >> > I will see what I can do with the \grace { s8 } idea you suggested. So
> >> > far that idea is not playing nicely with the bagpipe.ly file.
> >>
> >> Example?
> >>
> >
> >
>
>
> --------------------------------------------------------------------------------
>
>
> > _______________________________________________
> > lilypond-user mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
Snippet_Spacing3_collision.pdf
Description: Adobe PDF document
Snippet_Spacing3.pdf
Description: Adobe PDF document
Snippet_Spacing3.ly
Description: Text Data
- Grace note spacing and barcheck difficulty in bagpipe music, Ben Beeson, 2012/12/18
- Re: Grace note spacing and barcheck difficulty in bagpipe music, David Kastrup, 2012/12/18
- Re: Grace note spacing and barcheck difficulty in bagpipe music, Ben Beeson, 2012/12/18
- Re: Grace note spacing and barcheck difficulty in bagpipe music, David Kastrup, 2012/12/18
- Re: Grace note spacing and barcheck difficulty in bagpipe music, Ben Beeson, 2012/12/19
- Re: Grace note spacing and barcheck difficulty in bagpipe music, Trevor Daniels, 2012/12/20
- Re: Grace note spacing and barcheck difficulty in bagpipe music,
Ben Beeson <=
- Re: Grace note spacing and barcheck difficulty in bagpipe music, Trevor Daniels, 2012/12/21
- Re: Grace note spacing and barcheck difficulty in bagpipe music, Ben Beeson, 2012/12/21