Mon 7 May 2007
A while back, I was doing some work with Arduino, passing serial data to the mac to a small application written with Processing which converted the serial data into MIDI data and pushed it out into other apps. Now Processing is a Java thing; and the standalone applications it creates are Java applications.
All fine, but a mere few days before an assessment, I couldn’t get the Serial to Midi application to work; I recalled an article on createdigitalmotion.com which I admit, I didn’t read fully, which said the following:
On the music side, Apple dumped its com.apple.audio.midi java package with 10.4.8. Result: not only do you lose all the features that make the Mac great for MIDI, like the IAC bus for inter-application MIDI routing, but your external devices also spontaneously disappear. Nice.
Now at this point, I put 2 + 2 together and got 5 … Apple have broken my app… Ahh what to do - revert my entire computer to 10.4.7?
So, I sat down and over the next few days and with much help, I managed to build (read: hack together) a serial to midi converter in Objective-C and Cocoa. Works perfectly (now!).
So, no more problem. Indeed. And not 1 day later, I remembered that I had bought an Java extension from Mandolane, which was needed for my original app. I reinstalled that and bingo, that worked too. Doh. Doh. Doh.
Oh well; I wanted to start learning Cocoa etc!
SteamSHIFT out.
Technorati Tags:
midi, mac, osx, art, experiments, developing, cocoa
May 7th, 2007 at 6:06 pm
mmj seems to work okay for me, too, and it’s completely free, though I think Mandolane may be more full-featured. That’s nifty that you hacked together a solution, though!
May 7th, 2007 at 6:16 pm
Will certainly be checking out mmj - would be useful for future projects.
I’ll probably look at releasing a version of the cocoa SerialToMidi app down the line once I have made it a bit more robust and added a few features.
May 16th, 2007 at 11:36 pm
There is now a Cocoa version (public beta, basic features only) of the indie Dial control/circular slider from ExitToShell() Collective. It can be cleanly scaled to any size and features an IB palette so you can replace the pixelated Apple dial thingies right there in InterfaceBuilder.
http://www.exittoshell.com/products/dialcontrol/