简体   繁体   English

如何在Mac OS X上通过USB连接的多轨混音器获取输入

[英]How to get input from a multitrack mixer connected via USB on mac os x

What are the general methods and APIs (preferably for C or C++) for capturing audio input from multitrack mixers/devices? 捕获多轨混音器/设备的音频输入的通用方法和API(最好是C或C ++)是什么? (Ie an Mbox). (即Mbox)。

So for example, say I have a guitar, bass, trumpet etc. connected to a mixer that is connected to my computer via USB/FireWire, is there an API or general method for getting that input? 例如,假设我有一个吉他,贝斯,小号等连接到通过USB / FireWire连接到计算机的调音台,是否有API或获取该输入的通用方法?

The API is called CoreAudio. 该API称为CoreAudio。 You might have noticed that "CoreAudio" was listed as being supported on that MBox you mentioned, though any class compliant device will be supported on OS X. There are also libraries built on top of CoreAudio that make CoreAudio even easier and/or more portable to work with, such as PortAudio and RTAdudio. 您可能已经注意到,您提到的MBox上列出了“ CoreAudio”受支持,尽管OS X将支持任何兼容类的设备。CoreCore之上还建立了一些库,这些库使CoreAudio更加轻松和/或更便携。与之配合使用,例如PortAudio和RTAdudio。

For a conceptual introduction to audio programming, you might want to look here: 有关音频编程的概念性介绍,您可能需要在这里查看:

http://blog.bjornroche.com/2011/11/slides-from-fundamentals-of-audio.html http://blog.bjornroche.com/2011/11/slides-from-fundamentals-of-audio.html

to dive right into CoreAudio Programming, you might want to look here: 要深入研究CoreAudio编程,您可能需要查看以下内容:

https://developer.apple.com/library/mac/#documentation/MusicAudio/Conceptual/CoreAudioOverview/Introduction/Introduction.html https://developer.apple.com/library/mac/#documentation/MusicAudio/Conceptual/CoreAudioOverview/Introduction/Introduction.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM