Issue capturing control change messages
See original GitHub issueHello,
First off I want to thank you for your hard work with this library. It has been very easy to use so far and I appreciate the work you’ve put into the docs. I’ve stumbled across a problem and I’m not sure if it’s my doing, or if there’s something missing.
I am using JZZ
in NodeJS and am able to capture Midi messages using the JZZ.Widget
class connected to an external Midi hardware interface. All of the Note On
, Note Off
, Timing Clock
, Start
and Stop
messages are captured and logged to my console without a problem.
const input = await JZZ().openMidiIn(0);
input.connect(JZZ.Widget({
_receive: function(msg) {
console.log(msg.toString());
}
});
The problem is when I move knobs or faders on my Midi keyboard. Only a single message is captured for all of the control change messages. For example, here I pressed a few keys and then moved a few different knobs and faders. Notice there’s only a single event logged, even though I interacted with multiple CC controls.
96 24 5a -- Note On
86 24 40 -- Note Off
96 25 60 -- Note On
86 25 59 -- Note Off
96 26 55 -- Note On
86 26 4d -- Note Off
96 27 4c -- Note On
86 27 54 -- Note Off
96 28 49 -- Note On
86 28 54 -- Note Off
b1 49 3f -- Sound Controller 4
I would expect to see a large number of messages with multiple CC param and values changing.
I am using Node v12.16.1
. This is the info I get from JZZ().info()
:
{
name: 'JZZ.js',
ver: '1.0.3',
version: '1.5.2',
inputs: [...truncated...],
outputs: [...truncated...],
engine: 'node',
sysex: true
}
Please let me know if there’s some configuration I’m missing, or if there are any more details I can provide you to help troubleshoot.
Best, Chris
Issue Analytics
- State:
- Created 3 years ago
- Comments:30 (16 by maintainers)
Top GitHub Comments
Thanks a lot for everyone who participated! It seems like I found the problem. A new release of jazz-midi will be published at NPM shortly.
@jazz-soft i’m using the download from here: https://jazz-soft.net/download/Jazz-Plugin/, i downloaded it fresh just a few days ago and i have the addon from here: https://addons.mozilla.org/en-US/firefox/addon/jazz-midi/ fully up to date