Image Album
News
Donate via PayPal

downloads/devices/flite_device.lha

Back to file index

Short:        Device API based on Flite Speech Engine
Author:       Fredrik Wikstrom
Uploader:     Fredrik Wikstrom <fredrik a500 org>
Type:         mus/misc
Version:      52.4
Replaces:     mus/misc/flite_device.lha
Architecture: ppc-amigaos
Download:     devices/flite_device.lha

Installation:

Copy flite.device to 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.

Speed (s=speed) and pitch (p=pitch) options can be used to alter the voice used
to output the text.

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 is ignored altogether. This behavior may change though,
so you must not make any assumptions about it (always put the length of the
string in io_Length or at least set it to ~0).

To Do (?):
 - file_to_speak() support
 - More voices?
 - More device units/processes?
 - ...

Changes:

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
Copyright © 2012 Fredrik Wikström (fredrik at a500 dot org)