MIDI input: Simultaneous Notes get ignored

Low level MIDI support via Javascript

MIDI input: Simultaneous Notes get ignored

Postby thornebrandt » Mon Dec 02, 2013 10:29 am

I'm running into a wall in which simultaneous notes are not being registered by the MIDI input callback midiProc() function. If I am using a drum machine or Ableton Live to send MIDI signals to the Jazz-Soft-Plugin, and it works beautifully until I start adding in a second track or a chord. If two notes start on the same beat, they are ignored. The problem is solved by putting the notes a few milliseconds apart, but this is a tedious process for a long composition in interfaces that automatically sync up notes.

Has anyone encountered this problem? Are there any tweaks or workarounds that I can make within the javascript to accept simultaneous chords?

-Thorne

P.S. Fantastic plugin otherwise!
thornebrandt
 
Posts: 5
Joined: Wed Nov 27, 2013 9:56 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby sema » Tue Dec 03, 2013 6:28 pm

Thank you for reporting the issue. I did not have it reported by anyone else yet.

There are many places where the problem may happen:
- Plugin
- JavaScript application
- Browser
- Driver
- MIDI connector

Please let me know as much details as possible about your setup:
Operating system: does it happen on both Windows and Mac?
Browser: do all browsers have the same problem?
On which page you see it, or all JavaScript apps have the same issue?
Are you connected with USB or MIDI cable?
Does any other MIDI software see the correct signal?
Etc...

Thank you!
sema
Site Admin
 
Posts: 301
Joined: Mon Oct 17, 2011 7:28 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby thornebrandt » Tue Dec 10, 2013 12:37 pm

OS: Mac Os X 10.6.8
Browser: Chrome and Firefox
Page: The problem exists on all uses of the plugin, it can be seen on test page: http://jazz-soft.net/demo/MidiInput.html
Setup: I'm using the built-in internal IAC Bus Driver to send MIDI out notes from Ableton back to the input of the mac.
(Other MIDI software sees the correct signals. I am currently using MidiBus for Processing and it is retrieving data correctly )

Here's an illustration of the problem. The F and G notes are recognized perfectly, but not the A + B if triggered simultaneously.

Image
thornebrandt
 
Posts: 5
Joined: Wed Nov 27, 2013 9:56 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby sema » Wed Dec 11, 2013 10:43 am

Thanks a lot for the information. Will debug when I'm back from vacation.
sema
Site Admin
 
Posts: 301
Joined: Mon Oct 17, 2011 7:28 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby thornebrandt » Thu Dec 26, 2013 8:27 am

Thanks, is there anything I could do to help?
thornebrandt
 
Posts: 5
Joined: Wed Nov 27, 2013 9:56 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby letoribo » Fri Dec 27, 2013 3:11 am

a similar problem on the page http://voice-leading.appspot.com/
with MidiOut ()
I used
Code: Select all
  ...
$ ('# Percussion'). data ("on", 0x90);
    ...
Jazz.MidiOut ($ ('# Percussion'). data ("on"), $ ("# Selectable1 li"). eq (count). val (), 127);
    ...

it can be solved by replacing the $ ('# Percussion'). data ("on") to 0x90
can you show your code?
letoribo
 
Posts: 98
Joined: Fri Sep 13, 2013 8:25 am
Location: Odessa,Ukraine

Re: MIDI input: Simultaneous Notes get ignored

Postby thornebrandt » Fri Dec 27, 2013 4:24 pm

egard,

This is a MIDI input problem, not MIDI output. The code that I am using is the code in the DEMO: http://jazz-soft.net/demo/MidiInput.html

-Thorne
thornebrandt
 
Posts: 5
Joined: Wed Nov 27, 2013 9:56 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby thornebrandt » Mon Jan 13, 2014 8:26 pm

@sema,

Are you back from vacation yet? Do you have any leads about this problem ? Is there anything I can do to help debug ? I don't know how to expose the code from the plugin. Can you post the code that calls midiProc() ?

-Thorne
thornebrandt
 
Posts: 5
Joined: Wed Nov 27, 2013 9:56 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby drummondj » Tue Feb 04, 2014 10:57 am

I had a similar problem, then I switched to using the following SHIM: https://github.com/cwilso/WebMIDIAPIShim

Not sure it will solve your problem but I thought I'd share anyway!
drummondj
 
Posts: 2
Joined: Wed Jan 29, 2014 11:13 am

Re: MIDI input: Simultaneous Notes get ignored

Postby sema » Tue Apr 29, 2014 12:10 am

I have just spotted and fixed a bug in MacOS version. Please update the plugin, hopefully that will fix your issues.
sema
Site Admin
 
Posts: 301
Joined: Mon Oct 17, 2011 7:28 pm

Re: MIDI input: Simultaneous Notes get ignored

Postby sema » Thu Nov 06, 2014 12:27 am

Many thanks to Ableton Support team who gave me free license key for their product.
I think now I know what the problem is and will fix it shortly.
sema
Site Admin
 
Posts: 301
Joined: Mon Oct 17, 2011 7:28 pm


Return to Jazz-Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron