Commit graph

103 commits

Author SHA1 Message Date
William Hubbs
d7dd0f919d fixed initialization issues
We were not returning exit codes properly if we were unable to open the
softsynth or if the daemon was already running.
2009-05-30 12:37:58 -05:00
William Hubbs
2db53856a9 fixed typo in tarball script 2009-05-30 10:37:39 -05:00
William Hubbs
55f8ebf98a released v0.70 v0.70 2009-05-30 10:32:36 -05:00
William Hubbs
69f1e8554a The tarball script now adds a ChangeLog 2009-05-30 10:30:45 -05:00
William Hubbs
0e47c95015 updated README 2009-05-30 08:36:33 -05:00
William Hubbs
c235a3b063 added .indent.pro to the repository 2009-05-30 00:20:31 -05:00
William Hubbs
d7c81f5117 indentation fixes 2009-05-29 23:17:28 -05:00
Christopher Brannon
3ddbb94e37 multithreading
Make espeakup a multi-threaded program.  One thread reads from the softsynth
device, queuing text and synthesis commands.  The other thread processes
items from the queue.
2009-05-29 20:00:06 -05:00
William Hubbs
3a8323f98c Fixed typo in README 2009-04-15 08:03:40 -05:00
William Hubbs
e7d300a183 turn off espeak's default processing of uppercase letters
This needs to be turned off since speakup processes upper case by
raising the pitch.
2009-04-14 09:00:32 -05:00
William Hubbs
a1510b5e93 indentation fixes 2009-04-12 16:33:01 -05:00
William Hubbs
3dbdcb21cb Aespeakup should not drop all non-ascii characters.
This fixes an issue with non-english languages.
Thanks to Samuel Thibault for the patch.
2009-04-05 19:24:36 -05:00
William Hubbs
9551ba81d9 espeakup 0.60 v0.60 2009-03-09 00:42:29 -05:00
William Hubbs
6366b41bdf espeakup v0.6 v0.6 2009-03-08 23:25:54 -05:00
William Hubbs
40f152e11f allow users to override CFLAGS
This fixes an issue with the Makefile that was not allowing users to
override cflags and keeping -Wall in the flags when compiling.
2009-03-08 21:05:24 -05:00
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