git-moss / DrivenByMoss

Bitwig Studio extensions for many controllers: Ableton Push I/II, Akai APC40mkI/mkII/mini, Fire, Arturia Beatstep, Novation Launchpads / Remote SLs, NI Maschine / Komplete, Open Sound Control (OSC) and many more.
https://www.mossgrabers.de/Software/Bitwig/Bitwig.html
GNU Lesser General Public License v3.0
599 stars 143 forks source link

Sending MIDI CC via Grid Pads #136

Closed dschiller closed 5 years ago

dschiller commented 5 years ago

Copied the PrgChangeView.java and cloned it to CCAView.java to be able to create a new View for sending MIDI CC Data via the GridPads. But the this.surface.sendMidiEvent (0xB0, this.programNumber, 127) doesn't come trough. The Pads always send Note Data instead of MIDI CC. Is it possible to find the Code where the Note Data will be send and the CC will be filtered ? I also tried to use the handleCC / handleCCEvent Methods. They send kind of CC but only internaly for the Push Device not to Bitwig.

Thanks a lot!

git-moss commented 5 years ago

That's a bit complicated. Your code is correct but it works only with VST devices. If you want to control Bitwig devices with CC you need to create a UserControlBank.