assigning priority to events

NKOTB's icon

I am using input into Max from a continuous controller to transpose pitch values coming from notein. However the switching between different pitch values seems to lag slightly behind the actual input of the continuous controller recieved by Max, which is making the use of the MIDI gear a bit clumsy. I have looked at the right-to-left order of things and this doesn't seem to be the source of the problem. If anyone has an idea how I can ensure that the most current continuous contoller values are being used for transposition I would be very grateful if you could share it with me. Thanks :-)

robotic-audio's icon

i'm not all to sure what u mean ?

could u post an example ?

NKOTB's icon

Thanks for your post. While I was creating an example to demonstrate my problem I discovered the underlying cause myself. The visual indicator I was using to represent when the continuous controller exceeded a particular threshold was one step ahead of the calculations based on the threshold-crossing due to the absence of a bang command. Having included a bang in the right place the discrepancy has disappeared. Thanks!