问题
I'm thinking of writing an iPhone/iPad application to emulate a MIDI controller. I know there are already quite a few available but I still want to do my own. I have several questions about that:
- I know a little bit about MIDI, but I've recently heard about OSC. Obviously MIDI is supported by almost all DJ software applications, but does OSC have a critical advantage that makes it compelling?
- For example, is it possible for my iOS application to send OSC messages directly to the DJ application without going through a hosted proxy application (like most remoting applications)? Is it possible with MIDI?
- If I'm forced to go through a server application installed on the host machine, I've read about Bonjour and TCP sockets to communicate between iOS and my host proxy, but how can my host proxy send MIDI or OSC signals to DJ applications? Does it have to pose as a virtual MIDI device? Are there libraries available for that? On MacOSX? On Windows?
回答1:
Take a look at the vvopensource project on Google Code.
来源:https://stackoverflow.com/questions/3201791/how-to-send-midi-or-osc-signals-to-a-mac-application-from-my-ios-application