Does that a 14Bit AbsoluteHardwareValueMatcher exist for the Hardware API? or is that something we have to roll our own using onMidi?
Thanks In Advance,
Kirkwood
Latest News: Bitwig updates Bitwig Studio to 5.2
14Bit AbsoluteHardwareValueMatcher ?
- KVRist
- Topic Starter
- 348 posts since 12 Apr, 2020
----------------------------------------------------------------------
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
- KVRist
- Topic Starter
- 348 posts since 12 Apr, 2020
Code: Select all
HardwareSurface hardwareSurface = host.createHardwareSurface();
AbsoluteHardwareKnob absoluteHardwareKnob = hardwareSurface.createAbsoluteHardwareKnob("Knob 1");
AbsoluteHardwareValueMatcher msb = host.getMidiInPort(0).createAbsoluteCCValueMatcher(0, 15);
AbsoluteHardwareValueMatcher lsb = host.getMidiInPort(0).createAbsoluteCCValueMatcher(0, 47);
AbsoluteHardwareValueMatcher sequencedValueMatcher = host.getMidiInPort(0).createSequencedValueMatcher(msb, lsb, true);
absoluteHardwareKnob.setAdjustValueMatcher(sequencedValueMatcher);
----------------------------------------------------------------------
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
- KVRist
- Topic Starter
- 348 posts since 12 Apr, 2020
Yup... that worked. may have gotten the bitflag messed up true or false... but I guess that's what that is there for. Well done on Bitwig for making it very easy to implement. The Hardware API is so damn slick.
Never again will I go 7bit on a USB Midi Controller if I can help it. Its just not the 80s anymore. And 10 Bits is fine just in case a midi manufacture ever reads this.
Never again will I go 7bit on a USB Midi Controller if I can help it. Its just not the 80s anymore. And 10 Bits is fine just in case a midi manufacture ever reads this.
----------------------------------------------------------------------
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest