[LAD] How can a LV2 plugin know on what host's MIDI Channel it's on?

Len Ovens len at ovenwerks.net
Fri Oct 17 08:12:13 UTC 2014

On Fri, 17 Oct 2014, Phil CM wrote:

> On 16/10/14 20:39, Paul Davis wrote:

>             Indeed, "most plugins" seem to get this in
>             information as to what track they are in (Calf
>             MonoSynth, randomly) so how do I implement that in
>             "my plugin"? :)
> what makes you think that Calf MonoSynth knows what track or channel
> it is in?
> The fact that when I put it on a MIDI track (and the hosts decide witch MIDI
> channel this track sends messages on) I can hear it without telling him said
> channel (and I only hear it on that track)..?

I would suggest that Calf Monosynth is channel agnostic. That is it 
ignores the channel information and uses midi events for any channel. 
However in this case it only plays midi info for one channel because that 
is all the host sends.

If I load The Calf Jack Host with the monosynth, it will respond to any 
channel from the keyboard. Calf jack host does no filtering. However if I 
run it through qmidiroute with only channel 1 enabled I get no sound 
when the keyboard is any channel but 1.

Len Ovens

More information about the Linux-audio-dev mailing list