Search code examples
iphonetext-to-speechflite

can i change the default voices from FLite?


i am working on tts application it needs to convert text into different voices like Male ,Female and childs voice i had tried some how but it's not working,

[fliteEngine setVoice:@"cmu_us_kal16"];
[fliteEngine setPitch:300.0 variance:1.1 speed:1.5];

Solution

  • There is voice folder in flite tts ..you can select any voice from there and set in [fliteEngine setVoice:@"cmu_us_kal16"];