Search code examples
iosiphoneobjective-ccocos2d-iphone

How to convert String to Audio (Sound) file in ios (Cocos2d)?


Is there any way to convert string (character) to Audio file in iOS? My question is I have a string and that string I want to convert into sound file, Is it possible without using any third party api?

Thanks in Advance.....


Solution

  • AVSpeechSynthesizer Tutorial – Letting Your App Speak Like Siri

    avspeechsynthesizer-ios-text-speech-ios-7

    but this is only available iOS 7

    enter image description here

    sample app