音频处理服务器平台
我正在尝试构建一个服务器来处理来自传入 UDP 连接的音频。我需要能够执行诸如更改输入流的频率(可能是 .wav)、幅度、时移等操作,然后实时反馈输出。该语言可以是 C/C++/ObjC 或 Java,或者两者的组合(如果足够快)。
到目前为止,我所看到的是在几个论坛上提到 Jack 和 PulseAudio。但是,我不知道其中哪一个最适合我的需求。我听一位做音频处理的朋友说这两个框架有相当大的代码库。哪个平台最适合我的需求,您会推荐哪个?
感谢您的帮助!
I'm trying to build a server for processing audio from an incoming UDP connection. I need to be able to do things like change the frequency of the incoming stream (probably a .wav), the amplitude, time shift it, etc. then feed the output back out in real time. The language would be either C/C++/ObjC or Java, or a combination of both (if it is fast enough)
What I've seen so far is mention of Jack and PulseAudio on several forums. However, what I don't know is which of these suits my needs the best. I've heard from a friend who does audio processing that these two frameworks have a rather large codebase. Which platform would be best suited for my needs, and which would you recommend?
Thanks for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这取决于您在什么平台上工作。关于你选择的 Objective-C,我认为它是 MacOS。在这种情况下您可以考虑使用 AudioQueue。 Apple 对它进行了详细记录,并且相对易于使用(他们有一个使用 AudioQueue 通过网络传输音频的示例)。顺便说一句,如果你没有做非常花哨的事情,java也可以处理它。
It depends on what platform you are working on. Regarding your choice of Objective-C, I assume it is MacOS. In this case you may consider using AudioQueue. It is well documented by Apple and relatively easy to use (they've got an example of streaming audio over network using AudioQueue). If you are not doing very fancy stuff, java can handle it as well, btw.