Re: MIDI assignment: two staffs to same channel

2018-03-11 Thread Giampaolo Orrigo
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  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
>   
> 
> 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


Re: MIDI assignment: two staffs to same channel

2018-03-11 Thread Torsten Hämmerle
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
  

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


MIDI assignment: two staffs to same channel

2018-03-11 Thread Giampaolo Orrigo
Hello list,

is there a way to assign two staves to the same MIDI channel when creating
MIDI in Lilypond?
I am trying to redirect frescobaldi MIDI output to the organ sim sw
Hauptwerk and while I have been finally successful, still the fact that the
two organ staves are assigned to two different channels make the msuic only
partially playable.

Thanks,


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