lilypond-devel
[Top][All Lists]
Advanced

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

string information handling inconsistent?


From: Marc Hohl
Subject: string information handling inconsistent?
Date: Sun, 14 Mar 2010 20:14:29 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hello all,

it seems that explicit string information has to be used within chord constructs
for *every* note, otherwise lilypond shows errors.

In the following example the second bar gives an error, because lilypond uses the "\2" for the first note within < ... >, this is the g which cannot be played on
the second string.

I did not find this mentioned anywhere in the docs - or is this example
too artificial and I should not bother?

Marc

\version "2.13.13"

test = \relative c' {
 \time 2/4
 < g e' >2     % works
 < g e'\2 >    % no!
 < g e'\2 > \3 % works
 < g e' > \3\2 % works, too
}

\score {
 \new StaffGroup <<
   \new Staff {
     \new Voice {
       \clef "treble_8"
       \override Voice.StringNumber #'transparent = ##t
       \test
     }
   }
   \new TabStaff {
     \new TabVoice {
       \test
     }
   }
 >>
}





reply via email to

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