[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MIDI assignment: two staffs to same channel
From: |
Torsten Hämmerle |
Subject: |
Re: MIDI assignment: two staffs to same channel |
Date: |
Sun, 11 Mar 2018 11:11:22 -0700 (MST) |
Giampaolo Orrigo wrote
> is there a way to assign two staves to the same MIDI channel when creating
> MIDI in Lilypond?
Hi Giampaolo,
As you wrote, by default, a separate MIDI channel will be assigned to each
staff.
But this default can be changed, see
3.5.7 MIDI channel mapping
<http://lilypond.org/doc/v2.19/Documentation/notation/midi-channel-mapping>
For driving Hauptwerk, 'voice will only make it worse, but probably you
could make use of 'instrument:
That way, everything played with the same midiInstrument will be mapped to
the same MIDI channel:
\midi {
\context {
\Score
midiChannelMapping = #'instrument
}
}
I don't know how to handle Hauptwerk stops via MIDI at all (LilyPond's
standard GM instruments will not make any sense, of course). So, probably,
setting midiChannelMapping to #'instrument might solve your problem.
All the best,
Torsten
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html