简体   繁体   English

音频处理服务器平台

[英]Server Platform for Audio Processing

I'm trying to build a server for processing audio from an incoming UDP connection. 我正在尝试构建服务器来处理来自传入UDP连接的音频。 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. 我需要能够执行诸如更改传入流的频率(可能是.wav),幅度,对其进行时移等操作,然后将输出实时反馈回来。 The language would be either C/C++/ObjC or Java, or a combination of both (if it is fast enough) 语言可以是C / C ++ / ObjC或Java,也可以是两者的组合(如果足够快的话)

What I've seen so far is mention of Jack and PulseAudio on several forums. 到目前为止,我在几个论坛上都提到了Jack和PulseAudio。 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! 谢谢你的帮助!

It depends on what platform you are working on. 这取决于您正在使用的平台。 Regarding your choice of Objective-C, I assume it is MacOS. 关于您选择的Objective-C,我认为它是MacOS。 In this case you may consider using AudioQueue. 在这种情况下,您可以考虑使用AudioQueue。 It is well documented by Apple and relatively easy to use (they've got an example of streaming audio over network using AudioQueue). 它由Apple很好地记录在案,并且相对易于使用(他们有使用AudioQueue通过网络流音频的示例)。 If you are not doing very fancy stuff, java can handle it as well, btw. 如果您做的不是很花哨的东西,java也可以处理它,顺便说一句。

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

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