Commit graph

50 commits

Author SHA1 Message Date
William Hubbs
037019de3a Espeakup v0.2 v0.2 2008-09-01 16:18:46 -05:00
William Hubbs
943ff9d3dc updated README 2008-09-01 16:08:07 -05:00
William Hubbs
5ddeb1e978 indentation fixes 2008-09-01 12:50:16 -05:00
William Hubbs
ccc9c4aa4e modified rate offset
This commit moves the rate offset to 84 instead of 80 so that the
highest espeak rate can be reached by setting the speakup rate to
the maximum.
2008-08-31 11:30:01 -05:00
William Hubbs
96a3b19850 fix flush processing
This removes flush processing from process_command() and fixes
the code in the main loop so that it does not ignore the 0 position
in the buffer.
2008-08-31 10:29:00 -05:00
William Hubbs
5bc67dc49d updated ToDo list. 2008-08-30 17:04:08 -05:00
William Hubbs
02e72bda39 adjusted the rate multiplier
This gets us closer to espeak's top speed, which is 390 wpm.
2008-08-30 16:54:10 -05:00
William Hubbs
ebcbcac9d2 removed an extra assignment statement 2008-08-30 16:34:59 -05:00
William Hubbs
d2d763b36b moved flush processing into main loop
This patch from Kirk Reiser attempts to increase
responsiveness by moving the flush processing into the main loop.
2008-08-30 15:02:26 -05:00
William Hubbs
564db7981e put back the select code
This needed to be put back to keep espeakup from using 100% of the cpu.
2008-08-29 19:16:10 -05:00
William Hubbs
5005b9ddde removed code that uses select
I was using the wrong type for the return value for read().
2008-08-17 18:32:05 -05:00
William Hubbs
3e7e5be2b7 fixed bug with volume setting
Now the volume setting should be announced again.
2008-08-17 00:49:46 -05:00
William Hubbs
f973c9ec3f cleaned up prototypes
This commit gets rid of extra spaces in some function prototypes.
2008-08-17 00:47:08 -05:00
William Hubbs
498ce65db7 cleaned up process_command 2008-08-17 00:44:06 -05:00
William Hubbs
aac77a3cf1 ignore object files 2008-08-17 00:20:50 -05:00
William Hubbs
de8d4d9dc3 fixed an include for gcc 4.3 2008-08-16 23:29:11 -05:00
William Hubbs
b34e397717 clear the queue when we catch a signal 2008-08-16 20:09:03 -05:00
William Hubbs
4c30dac5e1 added prototypes for queue functions 2008-08-16 20:07:41 -05:00
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