从 USB MIDI 键盘获取 MIDI,cocoa mac
我有一个项目,其中有一个 USB MIDI 键盘,我需要与 cocoa 进行通信。 什么框架可以实现 MIDI?没找到教程,请问这个可以吗?
键盘是 Worlde KS49B 49Key MIDI 控制器
i have this project where i have a USB MIDI keyboard that i need to comunicate with cocoa.
What framework makes this possible to get midi? Can't find any tutorials, is this even possible?
The keyboard is Worlde KS49B 49Key MIDI Controller
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你研究过 CoreMIDI 吗?
http://developer.apple.com/library/ios /documentation/MusicAudio/Reference/CACoreMIDIRef/_index.html
Mac 上也存在同样的情况。
如果你想拦截USB数据包,那么查看
/Developer/Utilities/USB Prober.app
看看低级格式化;但我认为你可能想要更高的目标。Have you looked into CoreMIDI?
http://developer.apple.com/library/ios/documentation/MusicAudio/Reference/CACoreMIDIRef/_index.html
The same exists on Mac as well.
If you want to intercept the USB packets, then look at the
/Developer/Utilities/USB Prober.app
to see the low-level format; but I think you'd probably want to aim higher.我认为您正在寻找 Core MIDI 框架。 Apple 文档提供了更多信息。
I think you're looking for the Core MIDI framework. The Apple documentation has more information.