Comment 3 for bug 1358844

Revision history for this message
Leodardo (leodardo) wrote : Re: MIDI learn: Track scrolling with 1 pot/encoder

Thanks for getting back quickly.
My controller is a M-Audio AxiomPro49, and I'm prototyping a custom microcontroller based MIDI controller where I will add an endless encoder.

By opening mix in debug mode I realized my (physically) endless knob was (virtually) actually not endless, as the controller mapped it to a virtual CC knob with vals ranging 0x00-0x7F, so the scrolling would in any case come to an end. Silly me!

The solution is to assign the knob a different type from the MIDI controller itself: Edit -> Control -> Type: SingleStep-/+

Now the knob outputs two different commands whether it is incrementing or decrementing:
Debug [Controller]: "MIDI status 0xB0 (ch 1, opcode 0xB), ctrl 0x61, val 0x00"
Debug [Controller]: "MIDI status 0xB0 (ch 1, opcode 0xB), ctrl 0x60, val 0x00"

With the two different CC for up and down. In Mixxx I just done again a MIDI learn and it works like a charm!
So everything's ok in Mixxx. You just have to make your knob work the right way.
Regards