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 + MacOs + PlumStone = :/
Page Index Toggle Pages: 1
proMidi + MacOs + PlumStone = :/ (Read 1705 times)
proMidi + MacOs + PlumStone = :/
Aug 26th, 2006, 9:37pm
 
I used proMidi 1 (I guess) and it used to work for me. I do some VJing with processing and my Ozone. But I lost my old HD and on the new one I installed everything (processing, proMidi and plumstone).

The midi is working but Im getting this nonstopping message:

javax.sound.midi.ShortMessage@b70648
javax.sound.midi.ShortMessage@5925c0
javax.sound.midi.ShortMessage@95c5ec
javax.sound.midi.ShortMessage@7e60a1
javax.sound.midi.ShortMessage@40627c
.
.
.

Whats going wrong? Is there any thing going wrong?


HELP!! Cheesy


Thank you all.


[]s
Alexandre d'Albergaria
Re: proMidi + MacOs + PlumStone = :/
Reply #1 - Aug 28th, 2006, 10:41pm
 
I forgot to delete some println commands for debugging. I uploaded a new cleaned version.
Re: proMidi + MacOs + PlumStone = :/
Reply #2 - Aug 28th, 2006, 11:37pm
 
Thank you!!! I was thinking about some println forgoten... but never know... As far as Im not a code master Tongue

Any way: Thank you, Ill download the cleaned version.


[]s
Re: proMidi + MacOs + PlumStone = :/
Reply #3 - Aug 30th, 2006, 8:37am
 
I just downloaded proMidi and Plumstone, and when trying to run the examples I get this:

/tmp/build52909.tmp/Temporary_8504_2427.java:1:278:1:284: Semantic Error: Type "PApplet" is imported on demand from package "processing.core" and package "promidi".

am I doing something wrong?
Re: proMidi + MacOs + PlumStone = :/
Reply #4 - Sep 7th, 2006, 7:36am
 
anyone?
Re: proMidi + MacOs + PlumStone = :/
Reply #5 - Sep 7th, 2006, 11:02am
 
this means, that the PApplet class is present in both, the core.jar which comes with processing and the promidi.jar . for the quick fix you would have to unzip the promidi.jar (rename promid.jar to promidi.zip and unzip), take out the PApplet class and jar the remaining folders/classes again. for the longterm fix tex would be the one to contact to make this change in the library itself.

andi
Re: proMidi + MacOs + PlumStone = :/
Reply #6 - Sep 7th, 2006, 1:28pm
 
Sorry for the late reply. I have a PApplet class that is only for generating the documentation and I forgot exclude it from the jar file. I also changed the way the midiports are recognized.

http://texone.org/promidi/promidi.zip
Re: proMidi + MacOs + PlumStone = :/
Reply #7 - Sep 7th, 2006, 4:10pm
 
tex is so going to hate me Tongue

I just tried the new version and got this when running the "promidi.pde" example:

Quote:
java.lang.ClassCastException: plumstone.StoneMidiTransmitter
at promidi.MidiIO.getInputDeviceName(MidiIO.java:231)
at promidi.MidiIO.printInputDevices(MidiIO.java:256)
at promidi.MidiIO.printDevices(MidiIO.java:283)
at Temporary_8512_6667.setup(Temporary_8512_6667.java:15)
at processing.core.PApplet.handleDisplay(PApplet.java:1269)
at processing.core.PGraphics.requestDisplay(PGraphics.java:535)
at processing.core.PApplet.run(PApplet.java:1152)
at java.lang.Thread.run(Thread.java:613)

java.lang.ClassCastException: plumstone.StoneMidiTransmitter
at promidi.MidiIO.getInputDeviceName(MidiIO.java:231)
at promidi.MidiIO.printInputDevices(MidiIO.java:256)
at promidi.MidiIO.printDevices(MidiIO.java:283)
at Temporary_8512_6667.setup(Temporary_8512_6667.java:15)
at processing.core.PApplet.handleDisplay(PApplet.java:1269)
at processing.core.PGraphics.requestDisplay(PGraphics.java:535)
at processing.core.PApplet.run(PApplet.java:1152)
at java.lang.Thread.run(Thread.java:613)

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:594)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:587)
at processing.core.PApplet.stop(PApplet.java:544)
at processing.core.PApplet.run(PApplet.java:1227)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.ClassCastException: plumstone.StoneMidiTransmitter
at promidi.MidiIO.closeInput(MidiIO.java:405)
at promidi.MidiIO.closeInputs(MidiIO.java:466)
at promidi.MidiIO.closePorts(MidiIO.java:489)
at promidi.MidiIO.dispose(MidiIO.java:171)
... 9 more
Re: proMidi + MacOs + PlumStone = :/
Reply #8 - Sep 7th, 2006, 9:49pm
 
Hope you are not going to hate me, because of buggy releases.
I fixed it and it should run now.
Re: proMidi + MacOs + PlumStone = :/
Reply #9 - Sep 8th, 2006, 1:51am
 
Seems to be working now. Thanks tex.


CODING TIME!!!
Page Index Toggle Pages: 1