question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue capturing control change messages

See original GitHub issue

Hello,

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:closed
  • Created 3 years ago
  • Comments:30 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
jazz-softcommented, Jun 3, 2020

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.

0reactions
cheecommented, Oct 15, 2020

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Everything You Need To Know About MIDI Messages But ...
Control Change (CC) messages · CC#1 is defined as ModWheel, simply because it's generated by the other (Modulation) wheel found on virtually all...
Read more >
About MIDI-Part 3:MIDI Messages -
Control Change messages, like other MIDI Channel messages, should only affect the Channel number indicated in the status byte. The Control Change status...
Read more >
Controller assignments Expert view Input Message ...
Controller assignments Expert view Input Message parameters in Logic Pro ... This allows you to define Control Change LSB and MSB portions.
Read more >
Sending CC messages from DAW
Now I want to send, say, cc 1 (modulation ) from Logic x (I draw this in hyper edit) into notion's staff that...
Read more >
Logic not recording midi CC data - SOS Forum
Control surfaces change mixer and plugin parameters by automation, not by recording MIDI. Use the automation system to record your parameter ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found