Dropping Note Events (regression)

Low level MIDI support for Node.js
Post Reply
damon
Posts: 6
Joined: Tue Jun 05, 2018 6:58 am

Dropping Note Events (regression)

Post by damon » Tue Jun 05, 2018 11:43 am

I'm noticing missing note events with the latest versions of both jzz and web-midi-api. When more that one note-in event happens simultaneously, only one of the events is registered. This happens in the latest version of jzz and web-midi-api with Node.js.

I do not observe this behavior with web-midi-api v 1.x. I do not notice any missing events when I roll back to that version.

Damon

sema
Site Admin
Posts: 383
Joined: Mon Oct 17, 2011 7:28 pm

Re: Dropping Note Events (regression)

Post by sema » Tue Jun 05, 2018 8:40 pm

You observe this on Mac, correct?
I'll look into the issue...

damon
Posts: 6
Joined: Tue Jun 05, 2018 6:58 am

Re: Dropping Note Events (regression)

Post by damon » Wed Jun 06, 2018 7:12 am

Yes, on a Mac. When I have a chance I'll test on Rasperry Pi.

macOS 10.13.4
Node 8.11.2
jzz 0.4.9 (broken)
web-midi-api 1.4.4 (works)

Thanks for your help!

damon
Posts: 6
Joined: Tue Jun 05, 2018 6:58 am

Re: Dropping Note Events (regression)

Post by damon » Thu Aug 16, 2018 7:54 am

Has there been any movement on this? I'm still seeing the behavior in the latest version.

sema
Site Admin
Posts: 383
Joined: Mon Oct 17, 2011 7:28 pm

Re: Dropping Note Events (regression)

Post by sema » Thu Aug 16, 2018 8:51 am

I think I know what was the problem. Hopefully it will be fixed in the next release.

damon
Posts: 6
Joined: Tue Jun 05, 2018 6:58 am

Re: Dropping Note Events (regression)

Post by damon » Fri Nov 09, 2018 3:24 pm

I still experience this issue in 0.6.1. Let me know if there's anything I can do to help troubleshoot.

macOS 10.13.6
Node 10.13.0

sema
Site Admin
Posts: 383
Joined: Mon Oct 17, 2011 7:28 pm

Re: Dropping Note Events (regression)

Post by sema » Sun Nov 11, 2018 1:54 pm

Well, I'll meed another look into it then. Apparently, the problem I fixed was not the one you observed.
If you give me instructions how to reproduce the problem, that would be really helpful.

damon
Posts: 6
Joined: Tue Jun 05, 2018 6:58 am

Re: Dropping Note Events (regression)

Post by damon » Mon Nov 12, 2018 8:07 am

I find that simply sending two or more notes events at the same time will result in at least one of them being dropped a significant majority of the time. I'm not sure exactly what the definition of "at the same time" is, but it is easy to reproduce by playing a chord on a MIDI keyboard. I do think it's possible that there has been some small improvement in recent updates. That is, when I first encountered this it was 100% consistent while now I will occasionally see all events reported, though rarely. Thanks for your attention to this.

Post Reply