[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \new Voice no longer automatic?
From: |
Han-Wen Nienhuys |
Subject: |
Re: \new Voice no longer automatic? |
Date: |
Wed, 03 Jan 2007 15:31:32 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20061219) |
Graham Percival escreveu:
> I think I missed something... my understanding was that contexts were
> created automatically as needed. In other words,
> { c'4 }
>
> automatically expanded to
> \score{
> \new Staff {
> \new Voice {
> c'4
> }
> }
> }
no, it doesn't work like that. The c4 cause the voice to appear.
> However, in bug 176 (below), a progerror went away by replacing a \new
> Staff with \new Voice. What's happening?
>
> \new Staff {
> \override Score.SpacingSpanner #'strict-note-spacing = ##t
> \afterGrace c'4 {c'32 c'32 }
> c'4
> }
\override Score doesn't instantiate a new Voice, neither does << >>
\aftergrace expands to
<< { skip 2nd-arg }
1st-arg >>
result: 2nd arg ends up in a different Voice as 1st-arg
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com