[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ties between voices
From: |
Steve D |
Subject: |
Re: ties between voices |
Date: |
Mon, 22 Jan 2007 13:32:50 -0700 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
On Wed, Jan 17, 2007 at 08:15:24AM +0200, Joe Neeman wrote:
> We've had a few questions about ties between voices (especially ties from
> polyphony to chords). It seems that you can get this behaviour simply by
> moving the Tie_engraver form the Voice context to the Staff context. Note
> that the Tie_engraver was probably designed to live in the Voice context, so
> it may not work perfectly, but if people will test it and report problems
> then it will get fixed.
>
> \version "2.10.0"
> \layout {
> \context {
> \Staff
> \consists "Tie_engraver"
> }
> \context {
> \Voice
> \remove "Tie_engraver"
> }
> }
> \new Staff {
> \relative {
> <<
> {a' b~ c d} \\
> {a, b b' c}
> >>
> }
> }
--- --- ---
Thank you very much for the suggestion, Joe. However, in LilyPond
2.11.12, if I add a layout section such as you suggested above, there is
an error message when I invoke LilyPond to process the file--
--- begin error message ---
GNU LilyPond 2.11.12
Processing `blues-in-c-1.ly'
Parsing...
Interpreting music...
Interpreting music... [8][11]
Preprocessing graphical objects...
/home/xscd/lilypond/usr/bin/../share/lilypond/current/ly/init.ly:37:1:
error: GUILE signaled an error for the expression beginning here
#
(if (or (pair? toplevel-scores) output-empty-score-list)
Wrong type argument in position 1: ()
/home/xscd/lilypond/usr/bin/../share/lilypond/current/ly/init.ly:37:5:
error: syntax error, unexpected '(', expecting '='
#(if
(or (pair? toplevel-scores) output-empty-score-list)
programming error: Parsed object should be dead: static
scm_unused_struct* Prob::mark_smob(scm_unused_struct*)
continuing, cross fingers
programming error: Parsed object should be dead: static
scm_unused_struct* Context_def::mark_smob(scm_unused_struct*)
continuing, cross fingers
error: failed files: "blues-in-c-1.ly"
--- end quote of error message ---
However, if I comment-out the layout section (with %{ %}), as in the
attached file, no error message occurs.
best wishes,
Steve D
New Mexico, US
--
----------------------------------------------------------------
The military was created to protect the leisure lifestyles of the
ruling class. -Eli Khamarov
----------------------------------------------------------------
blues-in-c-1.ly
Description: Text document