简体   繁体   English

iPhone语音转换器

[英]iPhone voice changer

I am developing an iphone app, which records user voice and change it into a female voice like (TALKING TOM and iHOBO). 我正在开发一个iphone应用程序,它记录用户的声音,并将其改为女性声音,如(TALKING TOM和iHOBO)。 I am new to audio manipulation. 我是音频操作的新手。 Please tell me which api is required to do this? 请告诉我这需要哪个api? Can i implement this feature using iphone sdk apis? 我可以使用iphone sdk apis实现此功能吗? Is there any open source to implement this feature? 是否有任何开源来实现此功能? Is there any tutorial regrading this? 是否有任何教程重新定位?

Thanks in Advace 感谢Advace

There are no built-in iOS APIs that will do independent time-pitch modification. 没有内置的iOS API可以进行独立的时间间隔修改。

There is open source code that implements time-pitch stretching in Audacity , but I don't know whether this code has been ported to iOS. Audacity中有开源代码实现时间间距拉伸,但我不知道这个代码是否已移植到iOS。 Same with SoundTouch . SoundTouch相同。

There is a T ime-Pitch Stretch Tutorial on the DSP Dimensions site. DSP Dimensions网站上有一个T ime-Pitch Stretch Tutorial

Update: In late 2012, the kAudioUnitSubType_NewTimePitch Audio Unit was included with and built into the release of iOS 6, so you can now implement (independant time-pitch modification) voice changing using iOS APIs. 更新:2012年末,kAudioUnitSubType_NewTimePitch音频单元已包含在iOS 6版本中并内置,因此您现在可以使用iOS API实现(独立的时间间距修改)语音更改。 See Apple's developer documentation for details. 有关详细信息,请参阅Apple的开发者文档

Take a look at Dirac . 看看狄拉克 It's free of charge, though not free software. 它是免费的,但不是免费软件。

the great link to download the sample code that provides all your needs, here also refer here for gaining more knowledge regarding your question. 下载提供所有需求的示例代码的重要链接, 此处还可参考此处获取有关您的问题的更多知识。

In the init method of the Sample Code of HelloWorldLayer.mm ,u can see three float values as 在HelloWorldLayer.mm的示例代码的init方法中,您可以看到三个浮点值

time      = 0.7;  
pitch     = 0.8;
formant   = pow(2., 0./12.);

just adjust the pitch value to 1.9,it would be really a nice cat sound!!! 只需将音高值调整为1.9,这将是一个非常好的猫声!

来自http://LittleEndian.com/Developers/的一些出色的声音修改SDK应该会有所帮助。

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

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