Cloudgarden's Discussion Board
Forums: Search: Several forums are available for people to post questions/comments about Java Speech or any of the CloudGarden products. As more messages are posted this discussion board should provide a useful, searchable, support database.
o AliceTalker (42)
o JSAPI Projects (69)
o Java Speech API (857)
o Jigloo GUI Builder for Eclipse (3322)
o SwingScroller (0)
o US Election 2004 (3)
Searches text and subject fields in all forums. The search matches as many words as possible. Don't use "AND" or "OR".
Latest "Java Speech API" Topics [ Start new "Java Speech API" Topic  ]

Cloudgarden Discussion Board  
This topic has 0 replies.       [ << Previous Topic | Start of Thread | >> Next Topic ]
A problem about of Buffer not big enough
Author: hiking
03/21/11 23:42 Reply
Hello Jonathan, I attempt to translate a long text string to speech into a mp3 file. I have written a java code to implementation JSAPI and tried to use a variety of vocal to get mp3 files. That have no problem to use some vocal to get mp3 files. But I use ITRITTS to translate text to speech into a mp3 file.

I receive the following in the command window:
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=156000 have=100000
****Buffer not big enough**** need=203840 have=100000
****Buffer not big enough**** need=251680 have=100000


I tried to modify my code and use setBufferSize() in CGAudioManager And setKeepOpen(true) in CGPullBufferDataSource. The problem was still exists.
Could you help me? Thanks