Commit graph

32 commits

Author SHA1 Message Date
William Hubbs
2bf3b17ffc removed debug flag from cflags 2008-08-16 20:05:19 -05:00
William Hubbs
655894ee2a added queueing support
I have added queueing support so that when we read from the softsynth we
can put the text and commands we have read into a queue.  This will
allow us to retry calling espeak_synth() if we fill espeak's internal
buffer.
2008-08-16 19:48:40 -05:00
William Hubbs
86e93edeb0 removed softsynth code from main module 2008-08-15 22:34:49 -05:00
William Hubbs
261c6db032 Added ToDo list 2008-08-15 09:14:18 -05:00
William Hubbs
029dd03251 modularize the code
This commit just re-arranges the source so that it is easier to work with.
2008-08-15 00:11:48 -05:00
William Hubbs
882e9c20a5 clean up the main function
This commit cleans up the main function and moves command line processing
to a separate function.
2008-08-12 08:10:56 -05:00
William Hubbs
4d2f76d6e1 removed makedist
The functionality to create a tarball has been moved into the makefile.
Now it is possible to create a tarball by doing:
make tarball - creates a tarball of the llast tagged version.
make TAG=gittag tarball creates a tarball based on the tag that is given to it.
2008-08-10 12:59:27 -05:00
William Hubbs
1802877912 Removed init scripts.
It will be best to let packagers write init scripts for their distributions,
so I am removing them from this repository.
2008-08-09 17:42:29 -05:00
William Hubbs
3d83e0f6d1 updated readme
I added an acknowledgements section.
2008-08-04 20:24:01 -05:00
William Hubbs
b76fada0b6 fixed makefile
The reference to $(PROGRAM) should have been $<.
This is fixed.
2008-08-03 13:48:13 -05:00
William Hubbs
c2c1d429db added redhat init script, thanks to William Acker. 2008-08-03 12:13:17 -05:00
William Hubbs
c7bece776d fixed makefile
There was a bug in the makefile which was not installing the binary correctly.
This is now fixed.
2008-08-03 10:35:31 -05:00
William Hubbs
22ea5c4d1d updated makedist
The makedist script now excludes itself and .gitignore when creating a tarball.
2008-08-02 17:25:17 -05:00
William Hubbs
9402716c32 cleaned up command line option processing 2008-08-02 16:30:43 -05:00
William Hubbs
05b115abbb fixed typos in makedist script. 2008-08-02 11:54:11 -05:00
William Hubbs
16beed0969 added a script to make tarball releases. 2008-08-02 11:47:29 -05:00
William Hubbs
6ecc3182da added a version command line option and variable. 2008-08-01 22:12:57 -05:00
William Hubbs
96871c6620 added destdir and prefix to the makefile for packaging. 2008-08-01 22:11:53 -05:00
William Hubbs
c7e0e28ad1 added gpl 2008-08-01 21:46:54 -05:00
William Hubbs
02c88e949a adjusted multipliers
I adjusted the pitch and volume multipliers.
This should allow us to come closer to the maximum espeak settings.
2008-08-01 20:35:55 -05:00
William Hubbs
d7de943a3a added frequency support
This patch, also from Kirk Reiser, adds frequency support.
2008-08-01 19:51:29 -05:00
William Hubbs
cddead8aa9 pid file support
This commit adds support for a pid file so that we can be stopped and
started by init systems.
2008-08-01 09:27:51 -05:00
William Hubbs
b51cf9d774 Added a signal handler
This commit adds a signal handler so that espeakup will terminate cleanly.
2008-07-31 20:32:51 -05:00
William Hubbs
61aac5ecb5 moved some variables
This commit removes the softsynth file descriptor and the debug flag
from the synth structure.  These will need to be accessed from a signal
handler and there is no way to pass the structure to it.
Also, the process_data function now works with local variables and assigns
them to the synth structure, avoiding allocating a buffer with malloc/free.
2008-07-31 08:47:00 -05:00
William Hubbs
eb5cb3d36d fixed volume
I applied another patch from Kirk Reiser which fixes the volume setting.
Thanks to Kirk for the patch.
2008-07-31 08:24:57 -05:00
William Hubbs
7604cac68c fixed the garbage characters bug
This fixes the bug that was causing garbage characters to be spoken.  Also
it sets the initial voice to "default".
2008-07-30 08:51:23 -05:00
William Hubbs
b745e0c48b more error checking
I moved the read call out of process_data and into the main loop.
Also, error checking was added for select() and read().
2008-07-29 22:58:41 -05:00
William Hubbs
c3b0e8d0da code cleanup
This patch adds the length of the buffer to the synth structure and
clears the buffer before we use it.
Thanks to Kirk Reiser for the patch.
2008-07-29 20:00:04 -05:00
William Hubbs
c4839ac78b added maxBufferSize constant 2008-07-28 08:58:32 -05:00
William Hubbs
754358f173 added cli option support
This commit adds support for command line options and also adds a debug option.
2008-07-28 08:39:19 -05:00
William Hubbs
572f333378 added volume support
I added support for setting the volume.
2008-07-28 07:20:46 -05:00
William Hubbs
4e3bbdb0b0 initial import 2008-07-28 01:23:43 -05:00