We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › promidi 2.0 not sending note off (OSX)
Page Index Toggle Pages: 1
promidi 2.0 not sending note off (OSX) (Read 646 times)
promidi 2.0 not sending note off (OSX)
Dec 11th, 2008, 9:37pm
 
I'm running the promidi sequencer example, but im not getting any noteoffs sent. im using the IAC bus, and i've checked with  midimonitor and ableton live.

anyone have any ideas?
Re: promidi 2.0 not sending note off (OSX)
Reply #1 - Jan 25th, 2009, 10:20pm
 
Hello,

I am having this same problem with IAC, too. I am running OS X 10.5.6. The only thing I can do to get around this problem, is to manually send the noteOff signals (noteOn with velocity = 0).

Here's an example of what I am doing:

 track.addEvent(new Note(50, 127, 500), 0);
 track.addEvent(new Note(50, 0, 500), 1);
 track.addEvent(new Note(49, 127, 140), 1);
 track.addEvent(new Note(49, 0, 140), 2);  

It is unclear, however, if this will be cross-platform compatible. I am a bit hesitant to code this way until I test proMIDI on several different machines (Windows and Mac).

Has anyone figured this out yet?
Re: promidi 2.0 not sending note off (OSX)
Reply #2 - Feb 16th, 2009, 10:20pm
 
Hi.

I'm having the same problem too.

mrshiz111: Do you mean that this is just with the IAC-bus?

When I built a step-sequencer with proMidi I used a matrix to store all active MIDI-events, to be able to add and remove them from the track properly. Using this you can easily access the Notes, and I guess Note's getNoteLength( ) could then be used to create "NoteOffs" by using zero-velocity notes. This way you can still use the duration argument in Note. You would still have to write the NoteOffs yourself, but it should work.
Page Index Toggle Pages: 1