Hi guys could really do with some help here
so, ive got a sustain pedal coming into pd as a midi control message ([ctlin 64 9]) from a usb acoustic trigger to midi module, sending in 127 for on and 0 for off.
in my patch i have various elements triggering the production of midi notes with the use of [makenote] which then gets sent to [noteout], then to the iac driver, and into a software synth that receives its midi from the iac.
i want to be able to use the sustain pedal as you would normally but am struggling with this. Im not sure if its a case of using the ctlin data to modify the midi notes before they are sent out, or whether its a case of sending straight out the midi control data to the synth as well (ive briefly tried this but no luck so far)
i had tried using the sustain data to modify the makenote notelength argument but ofcourse this meant that the note carried on sounding when the pedal was release, which i dont want.
hopefully this is clear, would really appreciate the help
hywel