Previous topicNext topic

MIDI input sources: ANY channel

Suggestions for new features for Magic.
Post Reply
TKS
Posts: 139
Joined: Mon May 17, 2021 10:40 am

MIDI input sources: ANY channel

Post 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 ;-)
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: MIDI input sources: ANY channel

Post by Magic »

Wouldn't it be sufficient to use a global to add different channels together?
TKS
Posts: 139
Joined: Mon May 17, 2021 10:40 am

Re: MIDI input sources: ANY channel

Post 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.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: MIDI input sources: ANY channel

Post 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". ;)
Post Reply