开发者

Convert Text to audio file like .wav or .au in java

开发者 https://www.devze.com 2023-02-06 20:09 出处:网络
i want to create audio file using text. in this case i 开发者_开发知识库tried AudioOutputStream and AudioSystem.write() methods this way audio file created but problem in running. so if any idea that

i want to create audio file using text. in this case i 开发者_开发知识库tried AudioOutputStream and AudioSystem.write() methods this way audio file created but problem in running. so if any idea that helps for converting text to audio file please write below.

thank you. Piyush


If you want to make some kind of "text to speech" you'll need a library, which will handle this. Otherwise you will have a lot of work. Try this project:

http://freetts.sourceforge.net/docs/index.php


You think creating audio from text is as simple as writing text data to an audio stream ? ...

LOL

To convert text to audio, you have to rely upon rather complicated tools, like text-to-speech engines.

Hopefully, java is known for the forrest of many trees. Concerning text-to-speech, you can rely upon this excellent question and its anwsers.

0

精彩评论

暂无评论...
验证码 换一张
取 消