{"id":7,"date":"2005-08-15T21:18:42","date_gmt":"2005-08-15T11:18:42","guid":{"rendered":"http:\/\/www.allocinit.net\/blog\/?p=7"},"modified":"2005-08-15T21:20:03","modified_gmt":"2005-08-15T11:20:03","slug":"storm-20-and-tiger","status":"publish","type":"post","link":"https:\/\/www.allocinit.net\/blog\/2005\/08\/15\/storm-20-and-tiger\/","title":{"rendered":"Storm 2.0 and Tiger"},"content":{"rendered":"<p>Back at the Mac OS X 10.2 Jaguar launch event here I won a copy of <a href=\"http:\/\/www.arturia.com\/en\/storm\/studio.php\">Storm Music Studio<\/a>. At the time the copy I won was version 1.5, but I got a free upgrade to 2.0 (thanks Arturia!). I&#8217;m not particularly musical so I don&#8217;t use it all that often, but I do enjoy having a play now and then.<\/p>\n<p>Recently I went to fire it up to have a bit of a play but after it launched it displayed a nasty dialog box informing me that the sound device was in use: not much good for a music application. No amount of clicking on the settings to choose the sound device would help, so what was I to do?<\/p>\n<p>As this was the first time I&#8217;d launched Storm under Mac OS X 10.4 Tiger, and knowing that Storm is written in Java I thought there might be a chance I could fix this problem. It seemed that some change in Apple&#8217;s JVM in Mac OS X had caused Storm to get somewhat confused about my audio devices. There was no update available from Arturia that might fix the issue, or any documentation that I could find on it. Clearly I was in this alone.<\/p>\n<p>A few months ago around the release of Storm 3, I had downloaded the demo to see what was different. I never actually got around to installing the demo, but there it was sitting in my downloads folder just waiting to be installed. After extracting and installing the Storm 3 demo, I checked that it did indeed work with Tiger. There were no problems to be seen. Looking at the about box of the two applications I noticed that Storm 3 was using Java 1.4.2, while Storm 2 was using Java 1.3.1. The obvious thing to do was to try and get Storm 2.0 to use Java 1.4.2 and see what happened.<\/p>\n<p>To do this, I cracked open Storm 2&#8217;s application (Show Package Contents from the contextual menu) and edited its <b>Info.plist<\/b> file to add the following section:<\/p>\n<pre>&lt;key&gt;Java&lt;\/key&gt;\r\n&lt;dict&gt;\r\n    &lt;key&gt;ClassPath&lt;\/key&gt;\r\n    &lt;array&gt;\r\n        &lt;string&gt;$JAVAROOT\/classes.jar&lt;\/string&gt;\r\n        &lt;string&gt;$JAVAROOT\/look.jar&lt;\/string&gt;\r\n        &lt;string&gt;$JAVAROOT\/shlook.jar&lt;\/string&gt;\r\n    &lt;\/array&gt;\r\n    &lt;key&gt;JVMVersion&lt;\/key&gt;\r\n    &lt;string&gt;1.4+&lt;\/string&gt;\r\n    &lt;key&gt;MainClass&lt;\/key&gt;\r\n    &lt;string&gt;storm.application.Application&lt;\/string&gt;\r\n&lt;\/dict&gt;\r\n<\/pre>\n<p>Success! After this quick modification Storm 2 launched without complaint and was ready to go making music as always.<\/p>\n<p>As an aside, there&#8217;s something interesting going on here though. I went to revert Storm 2.0 back to it&#8217;s broken state so I could get a screenshot of the error message to place above but even after removing the Java section, Storm continued to work correctly. Weird, but at least I&#8217;ve got it back now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back at the Mac OS X 10.2 Jaguar launch event here I won a copy of Storm Music Studio. At the time the copy I won was version 1.5, but I got a free upgrade to 2.0 (thanks Arturia!). I&#8217;m not particularly musical so I don&#8217;t use it all that often, but I do enjoy [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.allocinit.net\/blog\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}