Commit graph

250 commits

Author SHA1 Message Date
Alexander Epaneshnikov
3fb775cc33 load speakup_soft kernel module 2021-06-14 22:14:47 +03:00
Alexander Epaneshnikov
6689948a8a add espeakup manual in unit file 2021-06-14 22:14:47 +03:00
Alexander Epaneshnikov
b5c1aef849 add systemd unit 2021-06-14 22:14:47 +03:00
Alexander Epaneshnikov
201ae667ee
link with espeak-ng by default (#25) 2021-06-14 20:45:53 +02:00
William Hubbs
a464461f0e convert README to markdown 2021-06-14 21:12:33 +03:00
William Hubbs
9ccabf55b6 update README
- Remove the unnecessary references to tarballs since this is now a
  standard github project.

- Point people to the bug tracker for filing bugs.
2021-06-14 21:12:33 +03:00
Samuel Thibault
ee05f278f2 Add support for indexing 2021-06-14 20:47:04 +03:00
Alexander Epaneshnikov
70ae4dece7 enlaarge voice buf
this will fix #9
2021-06-14 20:41:42 +03:00
Samuel Thibault
171bb517a0 Let espeak choose the buffer size
The default is already quite small, and choosing a too small one may
lead to broken speech.

Fixes #13
2021-06-14 20:37:53 +03:00
Alexander Epaneshnikov
7159441731
Merge pull request #19 from sthibaul/alsa-volume
Support setting ALSA volume in addition to espeak volume
2021-06-14 20:09:19 +03:00
Alexander Epaneshnikov
7cfba0878b
Merge pull request #18 from sthibaul/range
Support pitch range configuration
2021-06-14 20:01:52 +03:00
Alexander Epaneshnikov
1c3285d249
Merge pull request #15 from sthibaul/pause
pass '\n' to espeak too for e.g. proper pause
2021-06-14 19:53:15 +03:00
Samuel Thibault
53665b8eab Support setting ALSA volume in addition to espeak volume
This allows to make sure to reach the maximum volume permitted by the
hardware. This makes the default volume (5) set ALSA volume to 80%, like
the default ALSA scripts do.

This is not enabled by default, since users will probably want to use a
mixer to fine-tune their volume. But for e.g. installation images, this
allows to spare the use of a mixer and just use the speakup volume
control.
2020-04-29 02:48:39 +02:00
Samuel Thibault
a9657bbb2b Support pitch range configuration
This allows to let users choose expressiveness of their synth.
2020-04-25 21:47:00 +02:00
Samuel Thibault
1e31008091 pass '\n' to espeak too for e.g. proper pause 2019-08-18 20:30:45 +02:00
Samuel Thibault
e69d61b2d8 signal: Add missing mutex_lock/unlock around the while loop
This fixes #12.
2018-07-11 16:32:42 -05:00
Samuel Thibault
5f01999726 Make empty voice name select the default voice
See http://bugs.debian.org/872194
This fixes #11.
2018-07-11 16:14:52 -05:00
Samuel Thibault
5339da3144 Support audio pauses
When the Linux console is e.g. switched to a graphical VT, the kernel
emits \x01P to notify that it is not able to read the screen any more,
and the software synthesis can thus release the audio card, for other
screen readers to take over.

This implements it by adding a paused_espeak variable that tracks
whether we have suspended espeak.  When more text comes, we can simply
reinitialize espeak.

This fixes #10.
2018-07-11 16:02:44 -05:00
Samuel Thibault
a5b655ddb0 fix speaking spaces
Espeak doesn't speak spaces unless it is specifically told to do so.
2017-03-14 21:56:31 -05:00
Samuel Thibault
b7fe3af320 add unicode variant of /dev/softsynth 2017-03-14 21:52:14 -05:00
William Hubbs
e21b746eb9 version 0.81 2017-03-14 21:45:26 -05:00
William Hubbs
e55f16b7fd Update ChangeLog v0.80 2016-07-25 10:25:09 -05:00
William Hubbs
2964310b24 makefile: add target to generate changelog 2016-07-25 10:22:31 -05:00
William Hubbs
918e8853cd version 0.80 2016-07-24 21:38:56 -05:00
William Hubbs
3e5815429b Add my email address to the copyright statement 2016-07-24 21:38:44 -05:00
Christopher Brannon
8b49d9d211 Fix implicit function declaration warning.
This fixes #7
2016-07-24 15:34:01 -05:00
Christopher Brannon
97adab70de Replace usage of daemon(3).
Original patch and commit message courtesy of:
Samuel Thibault <samuel.thibault@ens-lyon.org>

currently espeakup uses daemon() to do the daemonizing stuff.
Unfortunately, daemon() does things not very appropriately, and there
is notably a delay between the parent exit()ing and the child writing
the pid file. The attached patch reimplements it properly, espeakup
then notably plays much more nicely with systemd.

Modified by Chris to apply to master.
This fixes #8.
2016-07-24 13:39:01 -05:00
Christopher Brannon
9290325489 Fix spelling keystrokes and char-by-char echo.
Use ssml's interpret-as="characters" setting when the kernel reports
just one character. This allows the use of espeak's internationalized
spelling of letters instead of having to maintain spelling ourselves in speakup.

Original patch courtesy of
Samuel Thibault <samuel.thibault@ens-lyon.org>
and modified to work with the current code by Chris.

This fixes #6.
2016-03-11 09:05:43 -06:00
Samuel Thibault
ee099174d8 Allow a voice to be selected by language name
This allows the -V option on the command line to be a language name.
2016-03-10 08:26:12 -06:00
Samuel Thibault
c1ad891f2e Create pid file when espeakup is really ready
This makes sure that we do not report that we are ready until everything
is initialized.
2016-03-10 08:14:10 -06:00
Christopher Brannon
d977243735 Add a missing #include, so that this can be built with musl.
This closes #5.
2015-08-18 08:45:27 -05:00
William Hubbs
d95ee07775 Revert "add indexing support"
This reverts commit e84e000b3e.
I need to think more about how to implement this.
2011-05-09 22:22:14 -05:00
William Hubbs
e84e000b3e add indexing support 2011-05-09 21:47:56 -05:00
William Hubbs
3fbbdf1922 Do not try to remove the pid file unless we are in speakup mode 2011-05-07 10:52:21 -05:00
William Hubbs
58ed438f00 rework two if statements
These if statements were executing code if we were not in acsint mode.
They have been combined and the code is now executed when we are in
speakup mode, which is what we want.
2011-05-07 10:35:57 -05:00
William Hubbs
b2bd1d33a8 make espeakup's default rate closer to espeak's default 2011-05-06 23:43:39 -05:00
William Hubbs
3b4b6d0cbc change code to use allocMem wrapper for memory allocation
One of the new string handling routines is a wrapper for allocating
memory. This commit changes the rest of the code to take advantage of
that wrapper.
2011-05-06 23:08:33 -05:00
Christopher Brannon
6180ff6e49 Don't check to see if espeakup is running in acsint mode.
This check is important when running with speakup, since there can only
be one instance accessing /dev/softsynth.
It is unnecessary in acsint mode.
2011-05-06 14:28:07 +00:00
William Hubbs
ba316a4cd4 separate string handling routines into their own module 2011-05-05 17:31:42 -05:00
Christopher Brannon
c06f18c454 support adapters using the acsint module 2011-05-05 17:29:25 -05:00
William Hubbs
70f74657c2 fix Makefile to use MANMODE to install man pages 2011-05-05 14:52:05 -05:00
William Hubbs
999e6551b5 add pid path option to help 2011-05-05 14:50:23 -05:00
William Hubbs
3353241a79 add command line option to change the pid path
This adds a -P or --pid-path option to the command line which
allows the user to change the path and the name of the pid file created
when espeakup is running as a daemon.

I would like to thank Chris Brannon for the original idea for this.
2011-05-05 14:12:40 -05:00
William Hubbs
49dcacb2ec adjust rate offset and multiplier for espeak 1.45.04 2011-05-05 12:30:18 -05:00
William Hubbs
2154d1a231 use memset to initialize sigaction structure 2011-03-06 15:12:40 -06:00
Christopher Brannon
1990e8e25d Properly initialize sigaction struct.
The sigaction struct used in signal_thread was stored in an automatic
variable.  The fields which were not set manually had undefined values.
2011-03-06 14:42:18 -06:00
William Hubbs
701074fd96 go back to just using a makefile
The reason I went to autotools was the multiple sound systems, but since
we are now just using espeak's audio processing we can go back to a more
simple build system.
2011-03-06 13:09:42 -06:00
William Hubbs
7bf2eee07a remove experimental alsa support
The direct alsa support was experimental and never worked well. It had a
setting which was system specific. Also, I feel that it is better to let
espeak control the audio processing.
2011-03-05 16:49:58 -06:00
William Hubbs
c7ae47dfe5 add experimental support for building a static binary
This is done by adding a --enable-standalone switch to the configure
script.
2010-06-02 12:11:05 -05:00
William Hubbs
3bfc662bae update location of latest version and git repository 2010-05-05 15:11:02 -05:00