On Tue, Nov 10, 2009 at 8:18 PM, Carl Sorensen c_soren...@byu.edu wrote:
Could someone volunteer to create a patch to the documentation by adding
this to the Known issues and warnings section of Unmetered music in
rhythms.itely?
In the meantime, I'm CCing to bug- (mostly so I can keep track of it).
On 11/10/09 7:46 AM, Mats Bengtsson mats.bengts...@ee.kth.se wrote:
It seems that you have to explicitly create a Voice context when you
start a piece with \cadenzaOn:
\include english.ly
\new Voice \relative c'{
\cadenzaOn
c16^Solo Free Time d ef f g2. as4 gs g32 gs g8~ g1 g4 f16 ef d f d
ef c4 ef8 c16 d g,1 \bar c16 d ef f g2 g \glissando g' g16 f ef d c b
a g f e d c4 b2 e b16 e b1 \bar ||
\cadenzaOff
}
There are a few situations like these, where you explicitly have to
create a context since LilyPond isn't able to figure out the right thing
to do itself. I got the clue to this solution by looking at the log
printouts from LilyPond, which included the line
warning: cannot find or create `Timing' called `'
Of course, you have to be a LilyPond nerd to have any idea of what the
warning means, though.
You could just as well have done \new Staff instead of \new Voice.
/Mats
chip wrote:
Thankyou for the reply - why is it that when I remove the c1 |
from the beginning and end of your corrected example I then get bar
lines throughout the cadenza? I don't want those c1's, they're not
part of the piece. Do I have to do some override to make the bar lines
invisible? Isn't that part of what \cadenza does (more or less)?
I don't understand why a \cadenza section, a completely free-form
unmetered cadenza, is causing problems with the other parts. My piece
is made up of 7 instrument parts. I've added the entire piece at the
bottom of this message.
(Oh, btw, there are no forced bar checks anywhere in my piece, so I
don't understand why I would get the failure.)
Thanks again,
Chip
Mats Bengtsson wrote:
chip wrote:
why would a
\cadenzaOn
c16^Solo Free Time d ef f g2. as4 gs g32 gs g8~ g1 g4 f16 ef d
f d ef c4 ef8 c16 d g,1 \bar c16 d ef f g2 g \glissando g' g16 f
ef d c b a g f e d c4 b2 e b16 e b1 \bar ||
\cadenzaOff
cause a bar check failure?
It doesn't, at least not by itself! You can only get bar check
failures if you have bar checks, i.e. if you have inserted a | where
you expect the bar line to happen. I tried to turn your incomplete
example into something that can be ran directly in LilyPond, like
\version 2.12.0
\include english.ly
\relative c'{
c1 |
\cadenzaOn
c16^Solo Free Time d ef f g2. as4 gs g32 gs g8~ g1 g4 f16 ef d f
d ef c4 ef8 c16 d g,1 \bar c16 d ef f g2 g \glissando g' g16 f ef
d c b a g f e d c4 b2 e b16 e b1 \bar ||
\cadenzaOff
c1 |
}
and I don't see any bar check failures. It's much much easier to
provide relevant answers to a question like this if you include a
complete (but small) example of an .ly file that illustrates your
problem.
/Mats
% LilyPond
\include english.ly
\version 2.12.2
\header{
title = Como
composer =
arranger =
}
global = { \time 4/4
#(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
#(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
#(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
%\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
%\override Score.BarNumber #'break-visibility = #end-of-line-invisible
%\override Score.BarNumber #'self-alignment-X = #-1
\override Glissando #'thickness = #3
\override Glissando #'style = #'zigzag
\override Glissando #'minimum-length = #6
\override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
\override MultiMeasureRest #'expand-limit = 1
\set Score.skipBars = ##t
\numericTimeSignature
}
% This setup should give me the maximum usable staffs per page %
\paper {
top-margin = 0.1\cm
page-top-space = 0.1\cm
ragged-bottom = ##t
left-margin = 20\mm
line-width = 175\mm
}
% This script sets the 'footer' of the last page to show the
current date %
tagline = \markup {
\simple #(strftime %b %d, %Y (localtime (current-time)))
\with-url #http://lilypond.org/web/;
{ LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
}
Baritone = \transpose d b
\relative c' {
\clef treble \global \key d \major
{\cadenzaOn
s1*8_\markup { \halign #-0 Alto Sax Intro } s2. \bar ||
\cadenzaOff}{r1 \fermata}
e8 d r4 r8 b e d
e d r4 r e8 d
d2 cs
a16 g a b cs b cs d e2
d8 cs r4 r8 cs d cs
d cs r d e4 d
b2 c
cs a \bar ||
r4 e'8 d r2
r4 e8 d r8 d cs b
d4. d8 cs2
a16 g a b cs b cs d e2
r4 d8 cs r2
r4 d8 cs r2
b2 c
cs a
r4 e'8 d r2
r4 e8 d r2
d4. d8 cs2
a16 g a b cs b cs d e2
r4 d8 cs r2
r4 d8 cs r2
R1*3
R1
R1
R1
e4. d8 cs4. d8
e4 g fs e
fs1
R1 \bar ||
r4 e8 d r2
r4 e8 d r2
d4. d8 cs2
a16 g a b cs b cs d e2
r4 d8 cs r2
r4 d8 cs r2
R1*2 \bar ||
e8 d r4 r8 b e d
e d r4