![]() of audio file have excluded a specific no. I have solved this problem by executing batch that identifies the no. wave audio files which may lead to storage problem at some If there are lots of hits to the web service obviously it creates.allocate() //Clean up and leave.ĪudioPlayer.close() //don't forget to close the audioplayer otherwise file will not be saved HelloVoice.speak("Hi this it rohit") //includes text to be converted in mp3 tAudioPlayer(audioPlayer) //attach the audioplayer HelloVoice.allocate() //Allocates the resources for the voice.ĪudioPlayer = new SingleFileAudioPlayer("/home/rohit/voicefiles/file4",Type.WAVE) //create a audioplayer to dump the output file Voice helloVoice = voiceManager.getVoice(voiceName) VoiceManager voiceManager = VoiceManager.getInstance() The VoiceManager manages all the voices for FreeTTS. tProperty("freetts.voices", ".en.us.cmu_us_kal.KevinVoiceDirectory") wave audio file then play that audio file at client browser using HTML5 tag. ![]() #Free tts vices code#Using following code I have created a web service, whenever user hits a web service with a text which is to converted into. I have tried freeTTS which is available free in java and convert text into a. I need a better solution for Text to Speech and also may any one have any idea to implement it in better way. I have tried two way that i have mentioned below but it has some problems. Hello guys i want to convert a text entered in a textfield in to voice in a browser. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |