i tried using the CC messages but i keep getting the same result. The problem is that maybe poly is not the right object to use for what i need.
Basically i need monophonic midiout; the reason i am using poly as [poly 1 1] is that it triggers the note off whenever a second note is triggered. Although, doing so the midi out results as follows:
(when first note is triggered)
midi note: 44
velocity: 100
(when second note is triggered)
midi note: 44
velocity: 0
midinote 45
velocity: 100
So basically, in this way i will always end up having stepped notes without legato...
Is there any other method to make sure that a note off is triggered at the right time? I think that what i need at the output to eliminate the stepping between notes is something like this:
(when first note is triggered)
midi note: 44
velocity: 100
(when second note is triggered)
midi note: 45
velocity: 100
midinote 44
velocity: 0