From 6a912572ff9a4800765716b664000e5be9340b0d Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Tue, 18 Sep 2007 23:18:41 +0200 Subject: [PATCH] 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 --- python/musicexp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- 2.39.5