将 win32 MIDI SysEx 应用程序移植到 MacOSX
将 win32 MIDI SysEx 应用程序(配置程序)移植到 MacOSX 的最简单方法是什么?
该应用程序本身是用 Qt 编写的,但我没有 OSX MIDI API 的经验。是否有足够好的替代调用,例如:
- midiInOpen
- midiOutOpen
- midiOutPrepareHeader
- midiOutLongMsg
等?对于从未在 MacOSX 下编程来开发 MIDI SysEx 应用程序的人来说,是否有合适的信息来源?核心音频?
What is the easiest way to port a win32 MIDI SysEx application (a configuration program), to MacOSX ?
The application itself is written in Qt, but I have no experience in OSX MIDI APIs. Are there good enough drop-in replacements for calls like:
- midiInOpen
- midiOutOpen
- midiOutPrepareHeader
- midiOutLongMsg
and a couple more? Is there a decent source of information for someone who has never programmed under MacOSX to develop MIDI SysEx applications? CoreAudio?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我发现了一个很棒的小(只有一个 .cpp 文件 + 头文件)midi 库 - 跨平台和所有:)
它也是一个很好的分析和学习来源..整个未记录领域的一个小金块。
http://www.music.mcgill.ca/~gary/rtmidi/index .html
I found a great little (just one .cpp file + headers) midi library - crossplatform and all :)
It's also a great source to analyse and to learn from.. a little nugget in the whole undocumented field.
http://www.music.mcgill.ca/~gary/rtmidi/index.html
你们的开发平台是什么?如果您正在为 Mac 编写本机 Coca 应用程序,Apple 编写了一个完整的框架来处理名为 CoreMidi 的 Midi 流量。 CoreMidi 框架提供整个 midi 包(包括 SysEx),甚至通过网络支持对其进行扩展。
我建议您查看 Pete Goodliffe 博客文章 在 iOS 设备上使用 CoreMidi。尽管您不是针对 iOS 进行开发,但那里有很多 CoreMidi 相关信息。
有一个简单但出色的应用程序,我在工作室中经常使用,名为:Midi Monitor是一个开源应用程序。我也推荐去那里看看。
What is your development platform? If you're writing a Native Coca Application for the mac, Apple wrote a complete framework to deal with the Midi traffic named CoreMidi. The CoreMidi framework deliver the whole package of midi (include SysEx) and even extend it with network support.
I recommend having a look at Pete Goodliffe blog post of using CoreMidi for iOS devices. Although you're not developing for iOS, there is a lot of CoreMidi related information there.
There is a simple, yet brilliant, application that I use a lot on my studio named: Midi Monitor which is an open source application. I recommend having a look there too.