AminetAminet
Search:
83854 packages online
About
Recent
Browse
Search
Upload
Setup
Services

mus/misc/flite_device.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Device API based on Flite Speech Engine
Author:Fredrik Wikstrom
Uploader:Fredrik Wikstrom <fredrik a500 org>
Type:mus/misc
Version:53.1
Replaces:mus/misc/flite_device.lha
Architecture:ppc-amigaos >= 4.1
Date:2013-01-25
Download:http://aminet.net/mus/misc/flite_device.lha - View contents
Readme:http://aminet.net/mus/misc/flite_device.readme
Downloads:1253

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



Contents of mus/misc/flite_device.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                   85     135  63.0% -lh5- 9d62 Jan 25 12:40 AutoInstall
[unknown]                 1958    6188  31.6% -lh5- fb43 Jan 25 00:39 C/Say
[unknown]               504777  922080  54.7% -lh5- b754 Jan 25 12:45 Devs/flite.device
[unknown]              2889365 4590152  62.9% -lh5- fd8a Jan 25 00:38 Devs/Flite/awb.voice
[unknown]              1682325 2052680  82.0% -lh5- bd5b Jan 25 00:39 Devs/Flite/kal.voice
[unknown]              2957987 3780884  78.2% -lh5- 5c7d Jan 25 00:39 Devs/Flite/kal16.voice
[unknown]              3371945 5319296  63.4% -lh5- 58ef Jan 25 00:39 Devs/Flite/rms.voice
[unknown]              2893894 4590520  63.0% -lh5- bfd7 Jan 25 00:39 Devs/Flite/slt.voice
[unknown]                 3370   10367  32.5% -lh5- da48 Apr  8  2009 flite-license.txt
[unknown]                 3134    5092  61.5% -lh5- 29da Jan 15 12:14 flite-license.txt.info
[unknown]                  347     786  44.1% -lh5- 8c58 Jan 23 16:25 flite.xml
[unknown]                 1076    1991  54.0% -lh5- 9034 Jan 25 12:51 flite_device.readme
[unknown]                 3133    5092  61.5% -lh5- b4db Jan 15 12:14 flite_device.readme.info
[unknown]                  502    1058  47.4% -lh5- ef93 Jan 23 18:02 include/devices/flite.h
[unknown]                  335     654  51.2% -lh5- 8f2c Jan 23 17:08 include/inline4/flite.h
[unknown]                  407    1006  40.5% -lh5- d0d3 Jan 23 17:08 include/interfaces/flite.h
[unknown]                  221     431  51.3% -lh5- d0ec Jan 23 17:08 include/interfaces/flite.i
[unknown]                  490    1498  32.7% -lh5- a4fe Jan 23 17:08 include/proto/flite.h
[unknown]                  182     344  52.9% -lh5- 8084 Jan 16 18:14 Install
[unknown]                13060   18215  71.7% -lh5- aa05 Jan 15 12:14 Install.info
[unknown]                  703    1374  51.2% -lh5- 001c Jan 14 18:33 license.txt
[unknown]                 3133    5092  61.5% -lh5- e40c Jan 15 12:14 license.txt.info
[unknown]                  118     215  54.9% -lh5- d014 Jan 25 09:14 src/flite.device_rev.h
[unknown]                    2       2 100.0% -lh0- 9795 Jan 25 09:14 src/flite.device_rev.rev
[unknown]                 1438    3382  42.5% -lh5- d5a9 Jan 23 18:20 src/flite_device.h
[unknown]                  876    1768  49.5% -lh5- 9f6c Jan 23 17:13 src/flite_vectors.c
[unknown]                 4559   12985  35.1% -lh5- 73a0 Jan 23 18:27 src/init.c
[unknown]                 1670    3735  44.7% -lh5- f0fe Jan 17 14:14 src/io.c
[unknown]                 1058    3089  34.3% -lh5- 8154 Aug 14  2009 src/lang/cmulex/cmu_lex.h
[unknown]                 1519    4446  34.2% -lh5- 8a5c Aug 14  2009 src/lang/cmu_us_awb/cmu_us_awb.c
[unknown]                 2755    9094  30.3% -lh5- 907d Dec 29  2009 src/lang/cmu_us_awb/cmu_us_awb_cg.c
[unknown]                27179  347969   7.8% -lh5- 8c7a May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_durmodel.c
[unknown]                34036  244464  13.9% -lh5- f9e6 May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_durmodel.h
[unknown]                27146  347562   7.8% -lh5- 6c5a May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_f0_trees.c
[unknown]                29174  213587  13.7% -lh5- b686 May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_f0_trees.h
[unknown]                  819    4429  18.5% -lh5- 7912 May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_phonestate.c
[unknown]               116329 1423399   8.2% -lh5- 8eb1 May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_single_mcep_trees.c
[unknown]               101724 1031127   9.9% -lh5- 53a8 May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_single_mcep_trees.h
[unknown]              2910911 7978492  36.5% -lh5- 416b May 15  2009 src/lang/cmu_us_awb/cmu_us_awb_cg_single_params.c
[unknown]                  827    1653  50.0% -lh5- bebc Jan 23 16:05 src/lang/cmu_us_awb/common.c
[unknown]                  108     187  57.8% -lh5- 5234 Apr  8  2009 src/lang/cmu_us_awb/voxdefs.h
[unknown]                 1683    5023  33.5% -lh5- b897 Aug 14  2009 src/lang/cmu_us_kal/cmu_us_kal.c
[unknown]                10384   37910  27.4% -lh5- 060b Aug 22  2009 src/lang/cmu_us_kal/cmu_us_kal_diphone.c
[unknown]               534306 1450967  36.8% -lh5- 8c1d Apr  8  2009 src/lang/cmu_us_kal/cmu_us_kal_lpc.c
[unknown]              1778386 7475986  23.8% -lh5- d3bc Apr  8  2009 src/lang/cmu_us_kal/cmu_us_kal_res.c
[unknown]                98531  399065  24.7% -lh5- d573 Apr  8  2009 src/lang/cmu_us_kal/cmu_us_kal_residx.c
[unknown]                  827    1653  50.0% -lh5- bebc Jan 23 16:05 src/lang/cmu_us_kal/common.c
[unknown]                  108     186  58.1% -lh5- d919 Apr  8  2009 src/lang/cmu_us_kal/voxdefs.h
[unknown]                 1691    5072  33.3% -lh5- f5e7 Aug 14  2009 src/lang/cmu_us_kal16/cmu_us_kal16.c
[unknown]                10385   37938  27.4% -lh5- fb06 Aug 22  2009 src/lang/cmu_us_kal16/cmu_us_kal16_diphone.c
[unknown]               788501 2190848  36.0% -lh5- ad21 Apr  8  2009 src/lang/cmu_us_kal16/cmu_us_kal16_lpc.c
[unknown]              3233652 14858547  21.8% -lh5- 52ae Apr  8  2009 src/lang/cmu_us_kal16/cmu_us_kal16_res.c
[unknown]               101622  405475  25.1% -lh5- 8293 Apr  8  2009 src/lang/cmu_us_kal16/cmu_us_kal16_residx.c
[unknown]                  827    1653  50.0% -lh5- bebc Jan 23 16:05 src/lang/cmu_us_kal16/common.c
[unknown]                  111     192  57.8% -lh5- 1ad2 Apr  8  2009 src/lang/cmu_us_kal16/voxdefs.h
[unknown]                 1520    4458  34.1% -lh5- aa23 Aug 14  2009 src/lang/cmu_us_rms/cmu_us_rms.c
[unknown]                 2736    9094  30.1% -lh5- 74c5 Dec 29  2009 src/lang/cmu_us_rms/cmu_us_rms_cg.c
[unknown]                27453  349712   7.9% -lh5- 4b1f May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_durmodel.c
[unknown]                34254  245962  13.9% -lh5- 2462 May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_durmodel.h
[unknown]                31786  408623   7.8% -lh5- 0287 May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_f0_trees.c
[unknown]                35410  258139  13.7% -lh5- 10df May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_f0_trees.h
[unknown]                  819    4429  18.5% -lh5- dbc4 May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_phonestate.c
[unknown]               134906 1658833   8.1% -lh5- 8f0e May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_single_mcep_trees.c
[unknown]               120520 1218721   9.9% -lh5- b15e May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_single_mcep_trees.h
[unknown]              3434402 9446117  36.4% -lh5- b50f May 27  2009 src/lang/cmu_us_rms/cmu_us_rms_cg_single_params.c
[unknown]                  827    1653  50.0% -lh5- bebc Jan 23 16:05 src/lang/cmu_us_rms/common.c
[unknown]                  109     187  58.3% -lh5- 2552 May 27  2009 src/lang/cmu_us_rms/voxdefs.h
[unknown]                 1520    4458  34.1% -lh5- 32d5 Aug 14  2009 src/lang/cmu_us_slt/cmu_us_slt.c
[unknown]                 2762    9094  30.4% -lh5- b4c2 Dec 29  2009 src/lang/cmu_us_slt/cmu_us_slt_cg.c
[unknown]                27290  348590   7.8% -lh5- f4d9 May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_durmodel.c
[unknown]                34163  245348  13.9% -lh5- c40f May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_durmodel.h
[unknown]                26839  347799   7.7% -lh5- 8b68 May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_f0_trees.c
[unknown]                29982  219748  13.6% -lh5- 51d0 May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_f0_trees.h
[unknown]                  819    4429  18.5% -lh5- dbce May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_phonestate.c
[unknown]               116369 1422223   8.2% -lh5- 9709 May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_single_mcep_trees.c
[unknown]               101700 1032566   9.8% -lh5- 55ea May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_single_mcep_trees.h
[unknown]              2908773 7970179  36.5% -lh5- 758d May 15  2009 src/lang/cmu_us_slt/cmu_us_slt_cg_single_params.c
[unknown]                  827    1653  50.0% -lh5- bebc Jan 23 16:05 src/lang/cmu_us_slt/common.c
[unknown]                  108     187  57.8% -lh5- 820c Apr  8  2009 src/lang/cmu_us_slt/voxdefs.h
[unknown]                 1216    3593  33.8% -lh5- fc6c Apr  8  2009 src/lang/usenglish/usenglish.h
[unknown]                 1294    2806  46.1% -lh5- 6cfd Jan 16 20:55 src/libdl.c
[unknown]                  821    1579  52.0% -lh5- dcf9 Jan 23 17:19 src/main/CloseVoice.c
[unknown]                  832    1591  52.3% -lh5- d31c Jan 23 17:18 src/main/OpenVoice.c
[unknown]                  850    2392  35.5% -lh5- c543 Jan 25 12:52 src/Makefile
[unknown]                 2372    5409  43.9% -lh5- 2dbb Jan 23 18:01 src/say.c
[unknown]                 2882    8701  33.1% -lh5- 5517 Jan 23 18:24 src/unit.c
[unknown]                 1535    3681  41.7% -lh5- 2125 Jan 17 12:08 src/voice.c
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        87 files 31243387 85058989  36.7%            Jan 25 20:08

Aminet © 1992-2022 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>