From: Reinhold Kainhofer Date: Tue, 18 Sep 2007 21:18:41 +0000 (+0200) Subject: MusicXML: Use \voiceOne up to \voiceFour in multi-voice staves X-Git-Tag: release/2.11.35-1~108 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6a912572ff9a4800765716b664000e5be9340b0d;p=lilypond.git MusicXML: Use \voiceOne up to \voiceFour in multi-voice staves Lilypond has \voiceOne up to \voiceFour, so use them (instead of going only up to \voiceTwo) Signed-off-by: Reinhold Kainhofer --- diff --git a/python/musicexp.py b/python/musicexp.py index d93d2818be..45a2e6d4c8 100644 --- a/python/musicexp.py +++ b/python/musicexp.py @@ -966,7 +966,8 @@ class Staff (StaffGroup): n += 1 voice_count_text = '' if nr_voices > 1: - voice_count_text = {1: ' \\voiceOne'}.get (n, ' \\voiceTwo') + voice_count_text = {1: ' \\voiceOne', 2: ' \\voiceTwo', + 3: ' \\voiceThree'}.get (n, ' \\voiceFour') printer ('\\context Voice = "%s" {%s \\%s }' % (v,voice_count_text,v)) printer.newline ()