[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NullVoice and MIDI
From: |
Johan Vromans |
Subject: |
NullVoice and MIDI |
Date: |
Fri, 13 Jun 2014 17:11:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Hi,
According to the Notation Reference you can use a NullVoice to align
lyrics or to use lyrics with partcombine (section 2.1.2). However, a
midi{} block will throw a confusing error when a NullVoice is used:
fatal error: fatal error. Couldn't find type: Performer_Group
Example program (adapted from the NotRef):
---- snip ----
soprano = \relative { b'8( c d c) d2 }
alto = \relative { g'2 b8( a g a) }
aligner = \relative { b'8( c d c) b( a g a) }
words = \lyricmode { la __ la __ }
music = {
\new Staff <<
\new Voice \partcombine \soprano \alto
\new NullVoice = "aligner" \aligner
\new Lyrics \lyricsto "aligner" \words
>>
}
\score {
\music
\layout{}
}
\score {
\music
\midi{}
}
---- snip ----
If not a bug, this may deserve a line of documentation.
-- Johan
- NullVoice and MIDI,
Johan Vromans <=