Page 1 of 1

MIDI input sources: ANY channel

Posted: Mon Nov 01, 2021 1:21 pm
by TKS
I would like to react to any MIDI input independent of the channel, an additional option "Any" in the channel selector would be nice.
Most MIDI software has this option already.

Should be quite easy to implement ;-)

Re: MIDI input sources: ANY channel

Posted: Tue Nov 02, 2021 4:08 pm
by Magic
Wouldn't it be sufficient to use a global to add different channels together?

Re: MIDI input sources: ANY channel

Posted: Tue Nov 02, 2021 6:45 pm
by TKS
Eric wrote:Wouldn't it be sufficient to use a global to add different channels together?
Without knowing MIDI internals that would be quite tricky:

Let's say channel 1 plays the note C with velocity 50, channel 2 the note D with velocity 40.
A VSTi with input "Any" would play both nodes with the correct velocity.

Having "Any" as option in the input sources would be much more straightforward, you filter by channel right now and just skipping the filtering part would be (more or less, there's still some UI to implement) almost a one-liner.

Re: MIDI input sources: ANY channel

Posted: Tue Nov 02, 2021 8:22 pm
by Magic
just skipping the filtering part would be (more or less, there's still some UI to implement) almost a one-liner.
It's not just a "one-liner". Magic is organized around the channels being separate and independent. In my opinion, the easiest thing would be to change what channel the notes are happening on; no code changes necessary.
Let's say channel 1 plays the note C with velocity 50, channel 2 the note D with velocity 40.
Very easy to accomplish that with globals. Almost a "one-liner". ;)