lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Free rhythm in part of a barpa


From: Peter Toye
Subject: Re: Free rhythm in part of a barpa
Date: Sat, 13 Jun 2020 10:57:27 +0100

Mark,

Hmmm. That gives me a bar check failure!

C:/Users/Peter/AppData/Local/Temp/frescobaldi-samod0cp/tmp94ybz3e6/document.ly:18:30: warning: barcheck failed at: 3/4
4 4 s4*2 r2\fermata s4*4
|

Best regards,

Peter
mailto:lilypond@ptoye.com
www.ptoye.com

-------------------------
Friday, June 12, 2020, 7:48:11 PM, Mark Stephen Mrotek wrote:


Peter,
 
From trial and error I learned, if a cadenza is started mid-measure (say on the second of four beats), then Lilypond want to start the nest meterd part on the third beat.
The solution is to star the cadenza on the first beat of the measure.
As to the bass it can be “fudged” with a number of spacers equal to the duration of the cadenza.
 
Here is my code:
 
\language "english"
\version "2.19.83"
\score {
<<
   \new Staff {
   \time 4/4
   {
    c'4 4 4 4 |
    \cadenzaOn 4 4 8 8 8 8 8 8 8 8 8 8 \cadenzaOff \bar "|"
    R1   }
}
 
\new Staff {
  \time 4/4
  \clef "bass"
  {
    c1
    4 4 s4*2 r2\fermata s4*4 |
  }
}
>>
}
 
Mark
 
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org] On Behalf Of Peter Toye
Sent: Friday, June 12, 2020 7:26 AM
To: lilypond-user@gnu.org
Subject: Free rhythm in part of a bar
 
I need to have part only of a bar notated with free rhythm. Also other staves need to be synchronised. I've tried using \cadenzaOn but then I get a barcheck problem and the next bar goes odd. I can't see anything about this in the snippets or manuals. A minimal example follows.

There seem to be two issues:

1) How do I get the desired result, which is one bar with the first 2 crotchets synchronised with the bass, and the rest unsynchronised?

2) This isn't in the example, but what if I want a free section within a bar, but synchronised accompaniment at the beginning and end of the bar (e.g. a chord on the final note of a cadenza).

\language "english"

\version "2.19.83"

\score {

 <<
   \new Staff {
   \time 4/4
   {
    c'4 4 4 4 |
    4 4 \cadenzaOn 8 8 8 8 8 8 8 8 8 8  \bar "|" \cadenzaOff
    R1
   }
 }

 \new Staff {
  \time 4/4
  \clef "bass"
  {
    c1
    4 4 r2\fermata |
  }

 }

 >>

}
Thanks in advance,

Peter
mailto:lilypond@ptoye.com
www.ptoye.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]