Commit graph

288 commits

Author SHA1 Message Date
William Hubbs
4e7ae23757 created tarball script
This commit adds a script to create a tarball from the repository and
removes this functionality from the makefile.
2009-03-08 13:45:56 -05:00
William Hubbs
9ee3fd433c documented --default-voice in man page
This commit adds the documentation for --default-voice to the espeakup
man page.
2009-03-08 13:17:59 -05:00
William Hubbs
e2493db48e add --default-voice option to the help and README
This commit adds the documentation to the help and README files for the
--default-voice command line option.
2009-03-08 10:18:44 -05:00
William Hubbs
2351b5d489 add support for setting the default voice
This adds support for a --default-voice or -V (upper case) command line
option which will set the default voice espeakup uses.  This takes a
name of an espeak voice -- for example:

espeakup --default-voice=en-us

or

espeakup -V en-us
2009-03-07 14:34:49 -06:00
William Hubbs
da15136aa7 only one espeakup daemon should be running
This fixes a bug which would allow espeakup in debug mode to be run even
if espeakup was already running as a daemon.
2009-03-07 10:39:00 -06:00
William Hubbs
8dca597f29 Added a version script
I added a version script.  This is used in the Makefile to get the
version of espeakup when none is specified when a tarball is created.
2009-03-03 21:58:02 -06:00
William Hubbs
bbf77d918d Cleaned up warnings and adjusted CFLAGS
This commit cleans up warnings and adjusts CFLAGS.  Thanks to
samuel.thibault@ens-lyon.org.
2009-03-03 18:02:19 -06:00
William Hubbs
7db5530308 Espeakup version 0.51. v0.51 2009-02-10 21:57:10 -06:00
William Hubbs
341fa7ba42 fixed install command in makefile. 2009-02-10 21:54:44 -06:00
William Hubbs
0f24afef95 espeakup v0.5 v0.5 2009-02-09 09:05:28 -06:00
William Hubbs
c12ec3e1b0 moved version definition
This commit moves the version definition to espeakup.c instead of cli.c
2009-02-09 08:46:14 -06:00
William Hubbs
a8876a7964 fixed the license in the man page
The man page said that espeakup is under gpl version 2 or later, but it
is under version 3 or later, so I fixed the man page.
2009-02-09 08:39:58 -06:00
William Hubbs
2b96dd2a02 updated man page
This commit re-words the description of espeakup in the man page.
2009-01-24 13:02:33 -06:00
William Hubbs
17553c3c39 fixed the makefile
This commit removes the definitions for CC, RM and INSTALL from the
makefile so that it will use system defaults for these commands.
2009-01-10 09:48:48 -06:00
William Hubbs
ace8acf7d0 fixed hyphenation
This commit turns off hypenation in the man page.
2008-11-12 23:40:27 -06:00
William Hubbs
84c473b690 added man page
This commit adds a man page for espeakup.
Thanks to Chris Brannon for writing it.
2008-11-12 21:22:39 -06:00
William Hubbs
f7ddd8dc77 Released v0.4. v0.4 2008-10-22 19:23:46 -05:00
William Hubbs
a3901a7e4c fixed a bug in process_command
One of the switch statements in process_command did not have a default
label, which lead to undefined behavior.
Thanks to Chris Brannon for the patch.
2008-10-22 19:17:03 -05:00
William Hubbs
36b05aec41 Added support for the punctuation command from speakup 2008-10-18 16:56:47 -05:00
William Hubbs
c48b05d743 moved all variable definitions to the top of the Makefile. 2008-10-10 20:05:43 -05:00
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