M4L Filters out repeat CC Events

Patrick McMinn's icon

Hi!

I'm trying to use an endless rotary encoder on a Faderfox LV3, and this bit of code, incrementing/decrementing a counter, functions differently in Max than in Max for Live.

On the control surface, a turn to the left sends out a 127, while a turn to the right sends out a 0. In Max for Live, this behavior only occurs on the first turn in either direction. Additional repeating turns are filtered out. In Max, each turn of the dial, in either direction, sends out the 0 or 127 value.

Can anyone shed some light on this behavior?

Attached is a snippet of the code I've been using:

Max Patch
Copy patch and select New From Clipboard in Max.
broc's icon

Filtering out duplicate CC messages is a built-in "feature" of Ableton Live.

Patrick McMinn's icon

Bummer! Thanks for your insight, nonetheless.

The same thing occurs using midiin into midiparse, so it's Live entirely and not just the ctlin object.

Roman Thilenius's icon

similar thread some eight weeks ago