如何实现语音转换器? [英] How to implement a voice changer?

查看:54
本文介绍了如何实现语音转换器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个可以更改麦克风输入声音并使它像机器人或某些有趣的人的声音的应用程序。它必须支持将更改后的声音发送到所有应用程序,例如IM软件或Game Client。我应该选择哪种技术? Windows WaveForm API? DirectX?
音频驱动程序?

I want to write a app which change the microphone input voice and make it like robot or some funny man's voice.It must support send changed voice to all application like IM Software or Game Client. Which technology should I pick up? Windows WaveForm Api? DirectX? audio driver?

非常感谢!

推荐答案

有一个MSDN Coding4Fun文章解释了如何在C#(.NET)中创建在Skype上运行的语音转换器。完整的源代码也作为项目托管在 CodePlex 上。此外,对音频进行其他操作(相对于通过Skype进行流传输)应该相当容易,因为该项目基于 NAudio 框架,其中包含良好的抽象水平。无论如何,这是一个相当完整(且稳定)的示例-我认为绝对值得一试。

There's an MSDN Coding4Fun article that explains how to create a voice changer that operates over Skype, in C# (.NET). The full source code is also hosted as a project on CodePlex. In addition, it should be fairly easy do something else with the audio (as opposed to streaming it via Skype), since the project is based around the NAudio framework, which contains a good level of abstraction. Anyway, it is a reasonably complete (and stable) example - definitely worth checking out in my opinion.

如果您希望/需要使用C ++或其他语言进行开发,那么这个项目至少应该给您一些有关如何进行的想法。不过,如果您可以使用.NET,那么我认为您很幸运。

If you want/need to use C++ or some other language for development, then this project should at least give you some ideas about how to go about it. Still, if you can use .NET, then you're in luck I think.

这篇关于如何实现语音转换器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆