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 › Discouraging success with CC values and ProMidi.
Page Index Toggle Pages: 1
Discouraging success with CC values and ProMidi. (Read 439 times)
Discouraging success with CC values and ProMidi.
Mar 14th, 2009, 11:33pm
 
Apparently, the latest java update for OSX fixes part of the problem! Haven't tested RWMidi yet, but can now send CC values with ProMIDI.

However, Promidi still crashes when the playing sequencer is stopped and re-started. If I remove all CC data from the app, and just send notes, it is rock solid. Soon as I sequence even a single CC event, instability returns.

Any info/ideas appreciated.

Also, if anyone can confirm success working with CC values and ProMidi on any OS, I'd be much obliged.


Exception in thread "Animation Thread" java.lang.ClassCastException: javax.sound.midi.ShortMessage
     at promidi.Pattern.resetControllers(Pattern.java:403)
     at promidi.Track.resetControllers(Track.java:85)
     at promidi.Sequencer.resetControllers(Sequencer.java:445)
     at promidi.Sequencer.start(Sequencer.java:353)
     at promidi_test.mousePressed(promidi_test.java:53)
     at processing.core.PApplet.handleMouseEvent(PApplet.java:1585)
     at processing.core.PApplet.dequeueMouseEvents(PApplet.java:1522)
     at processing.core.PApplet.handleDraw(PApplet.java:1417)
     at processing.core.PApplet.run(PApplet.java:1311)
     at java.lang.Thread.run(Thread.java:613)

-- Ad.
Page Index Toggle Pages: 1