[nvda] USB eSpeak

In article <45E38190.1080502@xxxxxxxxxxx>,
   James Teh <jamie@xxxxxxxxxxx> wrote:

> Creating a USB version of ESpeak would be a great option, but we're
> not sure how to pull that off yet, as SAPI5 requires that the
> synthesisers be added to the registry and doing it otherwise
> requires writing our own audio code for ESpeak.

That may not be a big problem.  A speech synthesizer is basically just
a program that takes text data as input and produces sound WAV data as
output.

Look at eSpeak's native API (i.e. without the SAPI5 wrapper) in the
speak_lib.h   file in the espeak-1.20-source.zip download. 

The AUDIO_OUTPUT_SYNCHRONOUS mode works OK (that's what the SAPI5
version uses).  The asynchronous AUDIO_OUTPUT_RETRIEVAL mode should
work if you have Posix Threads available.  You'll need to deal with
playing the buffers of sound WAV data, unless you use the
AUDIO_OUTPUT_PLAYBACK mode which should work if the portaudio library
is available (www.portaudio.com, it's supposed to run on Windows).

To post messages to the list send email to
nvda@xxxxxxxxxxxxx
To unsubscribe from the list send a blank message to:
nvda-request@xxxxxxxxxxxxx
 with 'unsubscribe' in the Subject field.
Thank you for your continued support of Nonvisual Desktop Access, an open 
source free screen reader for Microsoft Windows:
http://www.nvaccess.org/nvda/
Message Archive:
http://www.freelists.org/archives/nvda

Other related posts: