Thank you Torsten!
That worked perfectly. 

Handling stops can be done in the same way, thanks to the fact that in 
Hauptwerk you can assign them to different channels. It needs a bit if 
experimentation, but I’ll leave it for another day. 

Giampaolo

> On Mar 11, 2018, at 14:11, Torsten Hämmerle <torsten.haemme...@web.de> wrote:
> 
> 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
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to