kallaballa / MidiPatch

MidiPatch is a scriptable and modular real-time software synthesizer using the PatchScript API
GNU Affero General Public License v3.0
12 stars 2 forks source link

MIDI Channel -> synth assignment #86

Open seclorum opened 4 years ago

seclorum commented 4 years ago

In order to support multi-timbrality, we need a way to route different MIDI messages to different synth instances on the basis of MIDI channel assignments.

e.g.

Channel: 1 drums.lua 2 synth1.lua 3 sampler.lua &etc.

One way to accomplish this would be to add a "-C " channel assignment argument to midipatch.

kallaballa commented 4 years ago

I agree but I'd like to have three places to configure this.

That doesn't mean they all have to be done at once. But sooner or later we gonna need them. To understand how this could be implemented look at the following places:

seclorum commented 4 years ago

MIDI Handling: now switched to a per-instance MIBY parser, which means Voice mapping/lua synth channel assignments can be implemented a little cleaner.