How to split voices from notein, inside a polyphonic synth?

alexandros's icon

Hi everyone,
I'm trying to separate the voices in two channels, inside a polyphonic synth, using the same midi device (my guitar with a midi pickup).
I want to receive voices consecutively, say 3 routed to one channel and the other 3 to the second (the guitar can produce only 6 voices), so I can combine them outside the poly~ object, in order to further manipulate them.
Anyone out there knows the answer?

Greets,
Alex

Luke Hall's icon

Is your MIDI pickup sending each string's data on different channels? It's hard to help without knowing a little bit more. Perhaps post the patch you have so far so we can take a look.

alexandros's icon

Yes the strings are being sent on 6 different channels, but I can't really say which channels are to be separated, as I can't know which strings I'll play in advance.
I have uploaded the patch, where I have two different notein objects, but it doesn't work. It give an idea of what I wanna do though.
Thanks

1349.synthee_attempt.maxpat
Max Patch
seejayjames's icon

if you want to route consecutively, it wouldn't really matter what the channels are, in fact that could mess things up. Better to collect values as they come in (regardless of channel) and route as needed. for plain values you could try [bucket], and for more info on the notes coming in, try [borax].

Maybe have six [noteins], one for each channel, then anytime there's a change in any value (use [change], of course!) you can flip a [gate 6] to send the latest values to wherever you want. be sure to use [trigger] to flip the gate *before* sending the value through.