I am trying to replicate this max for live device which quantizes incoming MIDI notes to the selected beat interval: https://maxforlive.com/library/device.php?id=196
this is my failed attempt to patch it up in the MIDI in device which I tried to replicate from help received in quantizing the Arpix patch:

