CCs bug for Python MIDI remote scripting


    Dec 24 2018 | 8:45 am
    Hey Ableton/Max hackers, Not exactly related to Max. But I took a turn from M4L and started developing MIDI Remote Scripts in Python for DJ controllers. Something weird happens here when I move a fader on the controller. A single fader transmits 2 CC values on channel 2 on 8 and 40. The CC value on 40 is erratic, while the one on 8 is the one I'll probably end up using for slider control. But why are there 2 CCs triggered by one fader. Is this some industry standard that I do not know? If the CC value on 40 has a specific pattern, I could use it for something fun. I'm currently using it to create a random note between 0 - 127.

    • Dec 24 2018 | 1:30 pm
      HUI protocol. Two CC messages, 32 apart, one for MSB and one for LSB, gives you 14 bits of precision.
    • Dec 26 2018 | 11:40 pm
      I'm sorry I'm a beginner at protocols, especially MIDI and hardware. Do you have a reference to the HUI protocol?
    • Dec 27 2018 | 12:20 am
      Nope but I’m sure you can find one on line. For me it wasn’t hard to figure it out after noticing the patterns as I moved sliders etc.