Christopher Brannon
3ed0b5cd0f
espeak_ng_Cancel(): discard the audio, don't close the device!
This function should just discard the currently playing audio,
rather than close the audio device. After all,
we will probably want to synthesize something else later.
9 years ago
chrislm
80da24bec7
Removed lengthen penultimate stressed vowels from dictionary.c lines 1469-1475. (See #80).
Fixed length stressed vowels in tr_language.c (see #80 ).
Improved phonemes, new statements for [a] and long close [o].
Added last improvements in italian dict source tested on april-may 2016.
9 years ago
Reece H. Dunn
d4bc2c328e
speech: Avoid warnings when using my_mode as a flag-based enumeration.
9 years ago
Reece H. Dunn
aaf52c3a78
Remove unused variables.
9 years ago
Reece H. Dunn
bd9eef8550
event: sleep_until_timeout_or_stop_request is not used, so remove it.
9 years ago
Reece H. Dunn
825a8a4710
compiledata: Avoid a warning when using %x in CompilePhoneme.
9 years ago
Reece H. Dunn
1afe61f8fe
compiledata: KeyToMnem is not used, so remove it
9 years ago
Reece H. Dunn
7201a1a150
Convert scripts.cpp from C++ to C.
9 years ago
Reece H. Dunn
707998940d
Convert categories.cpp from C++ to C.
9 years ago
Reece H. Dunn
0afcb3f89f
Convert case.cpp from C++ to C.
9 years ago
Reece H. Dunn
63b08a352b
Convert ctype.cpp from C++ to C.
9 years ago
Reece H. Dunn
b45cf54f4d
Convert tostring.cpp from C++ to C.
9 years ago
Reece H. Dunn
454038dbfa
Create a C-based API in addition to the C++-based API in <ucd/ucd.h>.
9 years ago
Reece H. Dunn
b620f42775
voices: support a status annotation in voice files
9 years ago
Reece H. Dunn
7e3e2c3854
voices: support a maintainer annotation in voice files
9 years ago
Reece H. Dunn
517ad81166
docs: move the voice list examples to the man files.
9 years ago
chrislm
e43a8e359f
Spanish intonation
9 years ago
Reece H. Dunn
26ecf79202
Build the Guarani language.
9 years ago
chrislm
1627318a91
Guarani Language
9 years ago
Reece H. Dunn
f6e7f8bb7c
Move some initialisation code from the old espeakedit.cpp file into espeak_ng_CompilePhonemeData to fix the phoneme data.
9 years ago
Reece H. Dunn
371216006f
Protect against wvoice being NULL in wavegen.c.
This can occur in cases where the voice is not found, or
espeak_ng_Initialize is called more than once.
9 years ago
Reece H. Dunn
496ff35634
WVoiceChanged is not used, so remove it.
9 years ago
Reece H. Dunn
b39537481d
MSI: add a GUI to the installer
9 years ago
Reece H. Dunn
6794504f83
SAPI: Use the default espeak-data path if none is specified in the SAPI voice token.
9 years ago
Reece H. Dunn
3aecf7afc3
SAPI: Support speaking text via the SAPI interface.
9 years ago
Reece H. Dunn
6a77d3cc0a
SAPI: Register the English SAPI voice.
9 years ago
Reece H. Dunn
188bf9e498
SAPI: Register the eSpeakNG.TtsEngine COM object.
9 years ago
Reece H. Dunn
6876adc495
SAPI: Fix a bug in the nAvgBytesPerSec calculation.
9 years ago
Reece H. Dunn
b7b2567eb1
Build the Visual Studio 2015 Windows project with pcaudiolib xaudio2 support.
9 years ago
Reece H. Dunn
c944a17d7d
Output any audio errors to stderr.
9 years ago
Reece H. Dunn
4f676ed175
Use pcaudiolib for the audio API layer.
9 years ago
Reece H. Dunn
bb465a45d8
Move the clock_gettime2 and add_time_in_ms definitions to event.h.
9 years ago
Reece H. Dunn
ca831d236a
Don't call wave_close in fifo.c.
This is handled by calls to espeak_ng_Cancel/espeak_Cancel and
espeak_ng_Terminate/espeak_Terminate.
9 years ago
Reece H. Dunn
674d55e605
Remove support for pa_device in the config file (now have a device command-line option).
9 years ago
Reece H. Dunn
be93c8b3e7
Remove calls to wave_is_busy.
Removing these calls do not impact on the behaviour of the program
and simplify the wave.h API.
9 years ago
Reece H. Dunn
94c5efe0b3
Remove calls to wave_set_callback_is_output_enabled.
These calls are used to pre-emptively exit when writing audio
data. This is also handled within dispatch_audio. The difference
is that this callback could allow espeak to cancel quicker. In
practice it does not make much difference.
9 years ago
Reece H. Dunn
2a628e982f
Remove calls to wave_get_write_position.
This call was used to update the written sample count used by
wave_get_remaining_time. As that function has been removed, this
code is no longer needed.
9 years ago
Reece H. Dunn
4a2994d1d3
Remove calls to wave_get_remaining_time.
This logic was implemented to limit the number of audio events sent
to a device, but the logic is not too relevant in practice (these
calls return 0 most of the time), and the logic is broken (e.g. when
calling Synthesize with a very long block of text).
9 years ago
Reece H. Dunn
f138558fe7
Fix the USE_ASYNC and wave_* API usage logic.
9 years ago
Reece H. Dunn
1d91276eac
wave_get_read_position is not used, so remove it
9 years ago
Reece H. Dunn
71b998b691
Remove duplicate t_wave_callback definition in wave.c.
9 years ago
Reece H. Dunn
7a4bc02cb6
Use stdlib.h instead of malloc.h.
9 years ago
Reece H. Dunn
eebb079718
Remove the Wave(Init|Open|Close)Sound functions as these are no longer used.
9 years ago
Reece H. Dunn
4cde8b6d13
option_quiet is no longer used (always set to 0), so remove it
9 years ago
Reece H. Dunn
914e64aba8
option_waveout is no longer used in libespeak-ng, so remove it
9 years ago
Reece H. Dunn
c9c0aca34f
Use the wave_* APIs for non-async audio.
9 years ago
Reece H. Dunn
f07dc419a6
Fix audio output in espeak-ng when USE_ASYNC is not defined.
9 years ago
Reece H. Dunn
c4a7ffba33
Inline the call to SynthOnTimer.
9 years ago
Reece H. Dunn
a51717346c
SpeakNextClause should not call WavegenOpenSound.
This function call does not affect the audio output in non-async
modes. Audio output in that case is handled within the SynthOnTimer
helper function.
9 years ago
Reece H. Dunn
c09d255e38
Remove timer_on from synthesize.c as this matches the SpeakNextClause return value.
9 years ago