Sync MIDI Notes with Ableton

This example shows how to delay incoming midi notes by a specified note duration. In order to achieve this we are introducing a pipe object in the middle of the notein and noteout objects that can be found by default on a max for live midi device. Furthermore, we need to define pipe’s ‘delaytime’ attribute to ‘0 ticks’ and set the ‘quantize’ attribute to the desired note duration. This last attribute can also be changed via the object.