William Hubbs
82fa63600b
fixed the makefile
...
Added espeakup.h as a dependency in the makefile so that the sources
will be compiled if it changes.
2008-10-09 19:40:11 -05:00
William Hubbs
d7e8dc2b34
Revert "fixed the length calculation when a flush is processed."
...
This reverts commit 66cb5a7b5c .
2008-10-09 09:05:56 -05:00
William Hubbs
66cb5a7b5c
fixed the length calculation when a flush is processed.
2008-10-09 08:17:07 -05:00
William Hubbs
62deb008bc
fixed the number of bytes to move in the memmove() call
2008-10-09 07:58:58 -05:00
William Hubbs
14858818d3
changed strcpy to memmove
...
The areas pointed to by strcpy() cannot overlap, so we need to use
memmove() in case that happens.
Thanks to Chris Brannon for pointing this out.
2008-10-08 21:59:36 -05:00
William Hubbs
6bec55ca57
changed process_buffer to use the isprint() call.
2008-10-08 18:14:17 -05:00
William Hubbs
1b608481a4
the main loop now uses strrchr and strcpy
...
The idea for this change came from another patch submitted by Chris
Brannon. We now use strrchr to look for the flush character and strcpy
to move the remainder of the buffer to the beginning.
2008-10-05 16:22:16 -05:00
William Hubbs
faab189389
Fixed the select call
...
The select call was moved to be in the if statement below it since the
return code is not needed after that statement is processed.
2008-10-05 16:12:37 -05:00
William Hubbs
24607b1cc8
made the synth flush character a constant for readability
2008-10-05 14:47:52 -05:00
William Hubbs
c8e2a35763
fixed an off-by-one error
...
The loop can start at length-1 since we know that the last character in
the buffer is a null.
Thanks again to Chris Brannon for finding this.
2008-10-04 12:43:40 -05:00
William Hubbs
f76d00f6af
removed the callback function
...
This commit removes the synthcallback function since it wasn't doing
anything. Also, it has been reported that this may be causing the
sluggishness when espeakup is asked to shut up.
Thanks to Chris Brannon for finding this.
2008-10-04 11:39:01 -05:00
William Hubbs
17f07e8cd1
released v0.3.
v0.3
2008-09-28 12:26:26 -05:00
William Hubbs
9b0c6a8224
fixed the volume multiplier
...
The volume range is actually 0-200 instead of 0-100, so the multiplier
needed to be adjusted.
2008-09-27 12:23:11 -05:00
William Hubbs
c7e3835fbd
Updated ToDo list
2008-09-27 11:04:22 -05:00
William Hubbs
527fb136de
starting work toward supporting changing voices
...
This commit adds a set_voice() function which will ultimately allow the
user to switch voices.
2008-09-27 10:52:24 -05:00
William Hubbs
f52c03ec2b
Fixed a typo.
2008-09-26 08:17:13 -05:00
William Hubbs
8d3552c964
updated readme
2008-09-03 08:51:46 -05:00
William Hubbs
1f784be891
added support for long command line options
2008-09-03 08:16:54 -05:00
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