Midi In Filtering

Jan 25, 2010 at 3:05am

Midi In Filtering

Hello All,

I’m fairly new at this so…please be gentle. ;)

I would like to separate a stream of incoming midi data by channel number. I would then be able to tell messages on ch. 1 to take a different action then messages on ch. 2.

Here is what I have so far:

Midiin connected to midiparse. Would my next step be to create a conditional if / then / else statement? I have searched the help tutorials, but with little luck.

I assume if / then / else statements are written into objects. Is this correct?

Any help is greatly appreciated.

Thanks!

#48002
Jan 25, 2010 at 3:35am

Use the last outlet of [midiparse] to control the routing of a [gate 2] and you’ll get one channel from each outlet.

lh

#172606
Jan 25, 2010 at 3:52pm

midiselect might be useful as well, maybe not in your case, but as it’s new since 5.1 it’s worth mentioning it.

#172607
Jan 25, 2010 at 4:12pm

Bonjour ej,

while we’re on this topic, I’m actually playing with 14bits pichbend and discovered that midiselect only send the 7 MSB bits. No @xben attribute?

#172608
Jan 30, 2010 at 6:32am

I solved this issue by connecting midiparse outlet 4 to a number field, then using the select object to filter. Kind of like a simple if, then, else…but without the if, then, else.

#172609
Jan 30, 2010 at 5:12pm

@Patrick midiselect is based on midiparse which is the reason why it doesn’t support 14 bits bending. I can add that too my list, but there’s no promise if/when this would happen.

#172610

You must be logged in to reply to this topic.