<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting ProMIDI to work in Processing on OS X Leopard</title>
	<atom:link href="http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/feed" rel="self" type="application/rss+xml" />
	<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard</link>
	<description>Research &#38; Development at Limina.Studio</description>
	<lastBuildDate>Sun, 05 Feb 2012 14:48:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jocepos</title>
		<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/comment-page-1#comment-9568</link>
		<dc:creator>Jocepos</dc:creator>
		<pubDate>Tue, 20 Apr 2010 13:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://log.liminastudio.com/?p=309#comment-9568</guid>
		<description>I would just like to comment for anybody considering the use of proMIDI other than for very simple prototyping is a big no no. proMIDI uses its own implementation of the Java realtime sequencer which tends to crash if left running for any longer than 10 minutes. I wasted 4 - 5 months trying to fix several parts of their sequencer to successfully make my step sequencer work. It still suffered from unstable timing and would crash after 10 minutes. 

Conclusively, I ended up having to re-implement my entire project in the native midi library for java. 

After doing so, I found a good release which natively incorporates Java&#039;s MIDI library, see link below as this is in my opinion a much better alternative to proMIDI:

Use RWMIDI for processing instead:

http://ruinwesen.com/support


Jocepos</description>
		<content:encoded><![CDATA[<p>I would just like to comment for anybody considering the use of proMIDI other than for very simple prototyping is a big no no. proMIDI uses its own implementation of the Java realtime sequencer which tends to crash if left running for any longer than 10 minutes. I wasted 4 &#8211; 5 months trying to fix several parts of their sequencer to successfully make my step sequencer work. It still suffered from unstable timing and would crash after 10 minutes. </p>
<p>Conclusively, I ended up having to re-implement my entire project in the native midi library for java. </p>
<p>After doing so, I found a good release which natively incorporates Java&#8217;s MIDI library, see link below as this is in my opinion a much better alternative to proMIDI:</p>
<p>Use RWMIDI for processing instead:</p>
<p><a href="http://ruinwesen.com/support" rel="nofollow">http://ruinwesen.com/support</a></p>
<p>Jocepos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tiia</title>
		<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/comment-page-1#comment-9258</link>
		<dc:creator>tiia</dc:creator>
		<pubDate>Wed, 10 Mar 2010 12:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://log.liminastudio.com/?p=309#comment-9258</guid>
		<description>Hello,
I&#039;ve been trying to get ProMidi to run on my OS 10.5 MacBook for a while now. Nothing seems to work! i followed yr above instructions, and found that those mmj files were already in the specified folder. i proceeded anyways, then checked my audio midi setup, and confirmed the device was online. Yet when i restart Processing, and try to run  *any* ProMIDI scripts, i find that i get the same error as always:( 
Example: 

Exception in thread &quot;Animation Thread&quot; java.lang.NoClassDefFoundError: processing/core/PApplet
	at promidi.MidiIO.(MidiIO.java:100)

Please could someone help me out? its seriously getting to me, so it would be seriously appreciated!

thanks a million :)</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I&#8217;ve been trying to get ProMidi to run on my OS 10.5 MacBook for a while now. Nothing seems to work! i followed yr above instructions, and found that those mmj files were already in the specified folder. i proceeded anyways, then checked my audio midi setup, and confirmed the device was online. Yet when i restart Processing, and try to run  *any* ProMIDI scripts, i find that i get the same error as always:(<br />
Example: </p>
<p>Exception in thread &#8220;Animation Thread&#8221; java.lang.NoClassDefFoundError: processing/core/PApplet<br />
	at promidi.MidiIO.(MidiIO.java:100)</p>
<p>Please could someone help me out? its seriously getting to me, so it would be seriously appreciated!</p>
<p>thanks a million <img src='http://log.liminastudio.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiaosquared</title>
		<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/comment-page-1#comment-8254</link>
		<dc:creator>xiaosquared</dc:creator>
		<pubDate>Fri, 30 Oct 2009 20:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://log.liminastudio.com/?p=309#comment-8254</guid>
		<description>Thanks for the post. It worked perfectly, and I got ProMIDI to print out the devices that I need. 

However, I tried running some code to print out the IO lines directly in Java using JavaSound&#039;s MIDI capabilities, and it gave me the same error that chrispix got:

Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: /Users/xx/Library/Java/Extensions/libmmj.jnilib:  no suitable image found.  Did find:  /Users/xx/Library/Java/Extensions/libmmj.jnilib: no matching architecture in universal wrapper
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1878)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1771)
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
	at java.lang.System.loadLibrary(System.java:1045)
	at de.humatic.mmj.MidiSystem.loadLibrary(MidiSystem.java:79)
	at de.humatic.mmj.MidiSystem.getDevices(MidiSystem.java:287)
	at de.humatic.mmj.spi.CoreMidiProvider.getDeviceInfo(CoreMidiProvider.java:37)
	at javax.sound.midi.MidiSystem.getMidiDeviceInfo(MidiSystem.java:173)
	at test.MidiTest.main(MidiTest.java:17)

Since Processing is based on Java, I assumed that your fix would work in Java as well. Do you have any idea why this is? Any thoughts on how to fix it? Thanks in advance.

Here&#039;s the Java code snippet:
		MidiDevice device = null;
		MidiDevice.Info[] infos = MidiSystem.getMidiDeviceInfo();
		for (int i = 0; i &lt; infos.length; i++) {
		    try {
		        device = MidiSystem.getMidiDevice(infos[i]);
		    } catch (MidiUnavailableException e) {
		          System.out.println(&quot;Midi Unavailable&quot;);
		    }
		    finally {
		    	System.out.println(infos[i]);
		    }
		}</description>
		<content:encoded><![CDATA[<p>Thanks for the post. It worked perfectly, and I got ProMIDI to print out the devices that I need. </p>
<p>However, I tried running some code to print out the IO lines directly in Java using JavaSound&#8217;s MIDI capabilities, and it gave me the same error that chrispix got:</p>
<p>Exception in thread &#8220;main&#8221; java.lang.UnsatisfiedLinkError: /Users/xx/Library/Java/Extensions/libmmj.jnilib:  no suitable image found.  Did find:  /Users/xx/Library/Java/Extensions/libmmj.jnilib: no matching architecture in universal wrapper<br />
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br />
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1878)<br />
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1771)<br />
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)<br />
	at java.lang.System.loadLibrary(System.java:1045)<br />
	at de.humatic.mmj.MidiSystem.loadLibrary(MidiSystem.java:79)<br />
	at de.humatic.mmj.MidiSystem.getDevices(MidiSystem.java:287)<br />
	at de.humatic.mmj.spi.CoreMidiProvider.getDeviceInfo(CoreMidiProvider.java:37)<br />
	at javax.sound.midi.MidiSystem.getMidiDeviceInfo(MidiSystem.java:173)<br />
	at test.MidiTest.main(MidiTest.java:17)</p>
<p>Since Processing is based on Java, I assumed that your fix would work in Java as well. Do you have any idea why this is? Any thoughts on how to fix it? Thanks in advance.</p>
<p>Here&#8217;s the Java code snippet:<br />
		MidiDevice device = null;<br />
		MidiDevice.Info[] infos = MidiSystem.getMidiDeviceInfo();<br />
		for (int i = 0; i &lt; infos.length; i++) {<br />
		    try {<br />
		        device = MidiSystem.getMidiDevice(infos[i]);<br />
		    } catch (MidiUnavailableException e) {<br />
		          System.out.println(&quot;Midi Unavailable&quot;);<br />
		    }<br />
		    finally {<br />
		    	System.out.println(infos[i]);<br />
		    }<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GiantRobot</title>
		<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/comment-page-1#comment-7507</link>
		<dc:creator>GiantRobot</dc:creator>
		<pubDate>Sun, 16 Aug 2009 02:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://log.liminastudio.com/?p=309#comment-7507</guid>
		<description>Nevermind, a little more looking revealed the new site.

http://creativecomputing.cc/p5libs/promidi/</description>
		<content:encoded><![CDATA[<p>Nevermind, a little more looking revealed the new site.</p>
<p><a href="http://creativecomputing.cc/p5libs/promidi/" rel="nofollow">http://creativecomputing.cc/p5libs/promidi/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GiantRobot</title>
		<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/comment-page-1#comment-7506</link>
		<dc:creator>GiantRobot</dc:creator>
		<pubDate>Sun, 16 Aug 2009 02:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://log.liminastudio.com/?p=309#comment-7506</guid>
		<description>Looks like the ProMIDI lib site is down, could you post your copy of the lib?  

I&#039;m dumbfounded about osx&#039;s core midi not natively working with Java.  I&#039;ve written tons of midi i/o code in java on windows over the last 2 years.  I just got my first macbook pro and tonight started porting my code over.  Guess I&#039;ll go to bed early. 

I&#039;m getting the same error message as chrispix.  I assume its the lack of ProMIDI.</description>
		<content:encoded><![CDATA[<p>Looks like the ProMIDI lib site is down, could you post your copy of the lib?  </p>
<p>I&#8217;m dumbfounded about osx&#8217;s core midi not natively working with Java.  I&#8217;ve written tons of midi i/o code in java on windows over the last 2 years.  I just got my first macbook pro and tonight started porting my code over.  Guess I&#8217;ll go to bed early. </p>
<p>I&#8217;m getting the same error message as chrispix.  I assume its the lack of ProMIDI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tedb0t</title>
		<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/comment-page-1#comment-7163</link>
		<dc:creator>Tedb0t</dc:creator>
		<pubDate>Thu, 23 Jul 2009 18:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://log.liminastudio.com/?p=309#comment-7163</guid>
		<description>Hm, what current Java versions do you mean?  I just recompiled my test using J2SE 5.0 with the 2006 ProMIDI lib on OS X 10.5.7 with the old MMJ files as of this original posting and it worked normally.  I haven&#039;t tried with any newer MMJ files.</description>
		<content:encoded><![CDATA[<p>Hm, what current Java versions do you mean?  I just recompiled my test using J2SE 5.0 with the 2006 ProMIDI lib on OS X 10.5.7 with the old MMJ files as of this original posting and it worked normally.  I haven&#8217;t tried with any newer MMJ files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrispix</title>
		<link>http://log.liminastudio.com/itp/getting-promidi-to-work-in-processing-on-os-x-leopard/comment-page-1#comment-7162</link>
		<dc:creator>chrispix</dc:creator>
		<pubDate>Thu, 23 Jul 2009 18:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://log.liminastudio.com/?p=309#comment-7162</guid>
		<description>I&#039;m not sure this method works anymore. According to the June 17, 2009 post from corporeal on http://processing.org/discourse/yabb2/YaBB.pl?num=1188575049/15 the mmj files don&#039;t work with the current java versions on OS X. 

When I tried the above, I get the following error, which seems to support that:

Uncaught exception in main method: java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/libmmj.jnilib:  no suitable image found.  Did find:  /Library/Java/Extensions/libmmj.jnilib: no matching architecture in universal wrapper</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure this method works anymore. According to the June 17, 2009 post from corporeal on <a href="http://processing.org/discourse/yabb2/YaBB.pl?num=1188575049/15" rel="nofollow">http://processing.org/discourse/yabb2/YaBB.pl?num=1188575049/15</a> the mmj files don&#8217;t work with the current java versions on OS X. </p>
<p>When I tried the above, I get the following error, which seems to support that:</p>
<p>Uncaught exception in main method: java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/libmmj.jnilib:  no suitable image found.  Did find:  /Library/Java/Extensions/libmmj.jnilib: no matching architecture in universal wrapper</p>
]]></content:encoded>
	</item>
</channel>
</rss>

