Topics

Github push to espeak-ng:espeak-ng #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

1 New Commit:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
d9a3b532b911: Update CHANGELOG.md

Modified: CHANGELOG.md


espeak-ng@groups.io Integration <espeak-ng@...>
 

1 New Commit:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
cffdfb837bf3: code cleanup: move function declarations from speech.h to new file mnemonics.h

This adds a corresponding header file for mnemonics.c that was introduced in d5d93be.

Added: src/libespeak-ng/mnemonics.h
Modified: src/libespeak-ng/compiledata.c
Modified: src/libespeak-ng/compiledict.c
Modified: src/libespeak-ng/encoding.c
Modified: src/libespeak-ng/mnemonics.c
Modified: src/libespeak-ng/speech.h
Modified: src/libespeak-ng/ssml.c
Modified: src/libespeak-ng/voices.c


espeak-ng@groups.io Integration <espeak-ng@...>
 

1 New Commit:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
124393733408: code cleanup: remove unused width2.

It is set but never used.

Modified: src/libespeak-ng/voice.h
Modified: src/libespeak-ng/voices.c


espeak-ng@groups.io Integration <espeak-ng@...>
 

1 New Commit:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
5d92b336f53f: code cleanup: remove unnecessary pointer assignment and enum value.

- V_ALPHABET2 is a leftover from 2f8f125.
- langopts assignment is unnecessary since it's not used later in the
function.

Modified: src/libespeak-ng/voices.c


espeak-ng@groups.io Integration <espeak-ng@...>
 

1 New Commit:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
d1332d7f35f8: code cleanup: remove unnecessary text_buf2

Modified: src/libespeak-ng/readclause.c


espeak-ng@groups.io Integration <espeak-ng@...>
 

1 New Commit:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
cc5b1e1119c4: code cleanup: reorganize check for u.s.a.'s in int ReadClause()

This approach reduces the amount of nested if statements and doesn't
require the temporary variable int c_next_2.

A test already exists for this case in tests/translate.test

Modified: src/libespeak-ng/readclause.c


espeak-ng@groups.io Integration <espeak-ng@...>
 

1 New Commit:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
19e2f697f63a: code cleanup: remove unnecessary current_voice_id in readclause.c

Instead of passing a temporary variable current_voice_id to SSML
processing logic and then copying the value to voice_change, pass
voice_change directly. GetVoiceAttributes() both sets voice_change and
retuns CLAUSE_TYPE_VOICE_CHANGE that is used by TranslateClause() for
error checking.

tests/ssml/language-switch.ssml covers the intended behavior of language
switching and will fail when either voice_change or CLAUSE_TYPE_VOICE_CHANGE
is not set correctly.

Modified: src/libespeak-ng/readclause.c
Modified: src/libespeak-ng/ssml.c