Short: Device API based on Flite Speech Engine Author: Fredrik Wikstrom Uploader: Fredrik Wikstrom Type: mus/misc Version: 53.1 Replaces: mus/misc/flite_device.lha Architecture: ppc-amigaos >= 4.1 Installation: Copy Devs/#? ALL DEVS: Usage (users): The Say commandline program can be used to send text to speak to device. "Say ?" will list all options available. F.e. Say "insert text here" will speak the text entered. Say "insert text here" out=speak.wav will output the speech to the file speak.wav rather than play it through AHI. To make "Say" use a different voice than the default one use V=VOICE/K option: Say "insert text here" voice=rms.voice Usage (developers): Check the say.c example code on how to use flite.device from your programs. At the moment any strings passed to the device with CMD_WRITE must be null terminated and io_Length should be set to either ~0 or -1. Known problems: The slt.voice produces some audio problems on AmigaOS (audible "clicks" at more or less regular intervals). This may be endian related or more likely it may be because of some difference due to floating point math. The other voices seem to work fine however. Changes: 53.1 (25-Jan-2013) - Implemented multi-voice support - The flite default voice can be set using the FLITE_DEFAULT_VOICE env variable (default value is "kal16.voice") - The voices are implemented as shared object files stored in DEVS:Flite - An in progress CMD_WRITE can now be interrupted with AbortIO() - The speed and pitch overrides are disabled for now (they may come back later but most likely in some other form) 52.5 (15-Jan-2013) - Updated to flite 1.4 52.4 (5-Mar-2008) - Removed AUDIO: requirement 52.3 (23-Oct-2007) - Fixed crash in cst_errmsg() 52.2 (22-Oct-2007) - Ability to set speed and pitch of voice - Ability input text as phonemes - Output to a RIFF-WAVE file 52.1 (19-Oct-2007) - First released version