[LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Yassin Philip
Hello! Some LV2 plugins seem to now the MIDI channel # of the track on which they are inserted, and some don't. If I had to guess I'd say that nobody knows, only some plugins can receive data from several MIDI channels, and some only work with one, so they never mistake ; Am I right? Last ye

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Yassin Philip
Sorry I forgot the link to my code :/ https://bitbucket.org/xaccrocheur/kis On 03/16/2016 01:26 AM, Yassin Philip wrote: Hello! Some LV2 plugins seem to now the MIDI channel # of the track on which they are inserted, and some don't. If I had to guess I'd say that nobody knows, only some plugi

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Paul Davis
On Tue, Mar 15, 2016 at 9:26 PM, Yassin Philip wrote: > Hello! > > Some LV2 plugins seem to now the MIDI channel # of the track on which they > are inserted, and some don't. > There is no such concept in LV2. The idea of a track "having" "a" MIDI channel is entirely host specific and isn't cove

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Yassin Philip
Can somebody point me towards the light? I'd like my plugin to only listen to one channel: The one of the host track it's inserted into. Given that there is no such thing, there's nothing you can do inside a plugin to make it do this precise thing. You could make it listen to ju

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Robin Gareus
On 03/16/2016 02:45 AM, Yassin Philip wrote: > But... How do other plugins do? most listen to all channels. 2c, robin ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Yassin Philip
On 03/16/2016 01:49 AM, Robin Gareus wrote: On 03/16/2016 02:45 AM, Yassin Philip wrote: But... How do other plugins do? most listen to all channels. I meant, how do they do that? I suppose it's in the LV2 ttl file

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Paul Davis
MIDI Channel number is part of a MIDI message. There are 16 possible channels on a given MIDI port. You look at the channel number inside each (channel) message (Note on, Note off, CC message mostly). On Tue, Mar 15, 2016 at 10:03 PM, Yassin Philip wrote: > > > On 03/16/2016 01:49 AM, Robin Gare

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Len Ovens
On Tue, March 15, 2016 7:03 pm, Yassin Philip wrote: > > > On 03/16/2016 01:49 AM, Robin Gareus wrote: >> On 03/16/2016 02:45 AM, Yassin Philip wrote: >> >>> But... How do other plugins do? >> most listen to all channels. > I meant, how do they do that? I suppose it's in the LV2 ttl file >

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-15 Thread Robin Gareus
On 03/16/2016 03:03 AM, Yassin Philip wrote: > > > On 03/16/2016 01:49 AM, Robin Gareus wrote: >> On 03/16/2016 02:45 AM, Yassin Philip wrote: >> >>> But... How do other plugins do? >> most listen to all channels. > I meant, how do they do that? I suppose it's in the LV2 ttl file >

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-16 Thread Rui Nuno Capela
On 2016-03-16 02:03, Yassin Philip wrote: On 03/16/2016 01:49 AM, Robin Gareus wrote: On 03/16/2016 02:45 AM, Yassin Philip wrote: But... How do other plugins do? most listen to all channels. I meant, how do they do that? I suppose it's in the LV2 ttl file [5], I'd like to know where to lo

Re: [LAD] LV2 plugin host MIDI channel number detection

2016-03-16 Thread Christopher Arndt
Am 16.03.2016 um 04:03 schrieb Robin Gareus: > Please have a look at http://lv2plug.in/book/ And maybe some MIDI basics will help too: http://www.somascape.org/midi/tech/spec.html http://www.blitter.com/~russtopia/MIDI/~jglatt/tech/midispec.htm Chris signature.asc Description: OpenPGP digita