note on midi routing

    Jun 14 2013 | 3:23 pm
    I built a patch using poly and route objects to gather a polyphony of max 6 notes for a guitar synth. The route object is sending pitch and velocity to the relevant string patch (6 patch different from each other, not instances of the same patch).
    Each patch has its own configuration. Now each of the 6 patches are limited in pitch like the real guitar. It's tricky but the target is to route the midi messages to the right patch available and compatible with the pitch range.
    Let's say I press one key in the range of first string, I want the string 1 to play. If that's outside that range but in the range of the string 2 and 3, I want the string 2 to play.
    I did part of it but I still have to finish the entire thing as specified. Up to know the route object is just sending out notes to fixed location. So 1 note, to string 1, 2 notes to 1 and 2 and so on...
    Did someone has a better idea how to implement it?