I am atempting to use the AudioFileSink to translate a long text string to speech into a wave file. The application is outputting a file with the speech very broken up. I have now attempted translating the text with VoicePad and get the same results. I receive the following in the command window:
Initializing Cloudgarden's JSAPI 1.0, version 1.6.3
INFO:CTTSEngObj::FinalConstruct:starting...
All debug information is currently logged into d:\Nuance\SAPI5.1\data\/VOCALIZER_SAPI_log_current
****Buffer not big enough**** need=136072 have=100000
****Buffer not big enough**** need=215596 have=100000
****Buffer not big enough**** need=259200 have=100000
****Buffer not big enough**** need=131516 have=100000
****Buffer not big enough**** need=169812 have=100000
****Buffer not big enough**** need=208400 have=100000
****Buffer not big enough**** need=259200 have=100000
****Buffer not big enough**** need=144000 have=100000
queue empty
flushed
Shutting down Cloudgarden's JSAPI 1.0 version 1.6.3
I am using Nuance Vocalizer 4.0. The translation sounds good when it is just spoken.
The sample text I am attempting to translate:
THIS IS A WIND WARNING ADVISORY FOR MOTORISTS TRAVELING NORTH BOUND ALONG I 95.
MOTORISTS SHOULD BE AWARE THAT THE MILLER J TYDINGS BRIDGE, BETWEEN EXITS 89 AND 93, IS EXPERIENCING HIGH WINDS.
MOTORIST OPERATING HOUSE TRAILERS, BOX TRAILERS, MOTORCYCLES, VEHICLES WITH A ROOF MOUNT RACK CONTAINING CARGO
OR ANY OTHER VEHICLE THAT MAY BE SUBJECT TO HIGH WINDS, SHOULD CROSS THE BRIDGE USING EXTREME CAUTION.
MOTORISTS MAY WANT TO CONSIDER USING ALTERNATE ROUTES OR DISCONTINUING TRAVELING UNTIL WINDY CONDITIONS SUBSIDE.
RECOMMENDED ALTERNATE ROUTES INCLUDE EXIT 74, 77, 80, OR 85 TO U.S. ROUTE 40 EAST.
ROUTE 40 EAST RUNS PARALLEL TO I 95 NORTH.
PARKING FACILITIES ARE AVAILABLE AT THE MARYLAND HOUSE SERVICE AREA, LOCATED PAST EXIT 80, AND AT PARK AND RIDE LOTS LOCATED AT EXIT 85 AND 89.
PARKING IS PROHIBITED ALONG I 95.
FOR FURTHER INFORMATION YOU MAY CONTACT THE MARYLAND STATE POLICE AT 410-537-1150
Is the too small buffer causing the problem? and is there anyway to set the buffer size or get around this problem?
|