Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone voice changer

Tags:

iphone

ipad

ios4

I am developing an iphone app, which records user voice and change it into a female voice like (TALKING TOM and iHOBO). I am new to audio manipulation. Please tell me which api is required to do this? Can i implement this feature using iphone sdk apis? Is there any open source to implement this feature? Is there any tutorial regrading this?

Thanks in Advace

like image 564
rat Avatar asked Dec 16 '10 06:12

rat


3 Answers

There are no built-in iOS APIs that will do independent time-pitch modification.

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. Same with SoundTouch.

There is a Time-Pitch Stretch Tutorial on the DSP Dimensions site.

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. See Apple's developer documentation for details.

like image 88
hotpaw2 Avatar answered Nov 20 '22 11:11

hotpaw2


Take a look at Dirac. It’s free of charge, though not free software.

like image 31
zoul Avatar answered Nov 20 '22 09:11

zoul


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

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!!!

like image 4
Balan Prabhu Avatar answered Nov 20 '22 10:11

Balan Prabhu