mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-11 08:30:31 +00:00
[1.46.36]
espeakedit: Prosody window now shows the FMT() or WAV() filename and the standard length of the selected phoneme. Added the ability to produce speech at different sample rates. To use rates other than the default 22050Hz, the phoneme data must be recompiled. This needs the "sox" program to be available. (sox.sourceforge.net). espeakedit: Added menu option to compile the phoneme data at a specified sample rate (rather than the default 22050Hz). phondata: Includes the value of the sample rate at which the data was compiled. Language changes: pt. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@302 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+7
-2
@@ -1,5 +1,5 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 to 2010 by Jonathan Duddington *
|
||||
* Copyright (C) 2005 to 2013 by Jonathan Duddington *
|
||||
* email: jonsd@users.sourceforge.net *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
@@ -40,7 +40,7 @@ static void SmoothSpect(void);
|
||||
|
||||
// list of phonemes in a clause
|
||||
int n_phoneme_list=0;
|
||||
PHONEME_LIST phoneme_list[N_PHONEME_LIST];
|
||||
PHONEME_LIST phoneme_list[N_PHONEME_LIST+1];
|
||||
|
||||
int mbrola_delay;
|
||||
char mbrola_name[20];
|
||||
@@ -1395,6 +1395,8 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume)
|
||||
prev = &phoneme_list[ix-1];
|
||||
next = &phoneme_list[ix+1];
|
||||
next2 = &phoneme_list[ix+2];
|
||||
if(next2->ph == NULL)
|
||||
break;
|
||||
|
||||
if(p->synthflags & SFLAG_EMBEDDED)
|
||||
{
|
||||
@@ -1448,6 +1450,9 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume)
|
||||
{
|
||||
case phPAUSE:
|
||||
DoPause(p->length,0);
|
||||
#ifdef _ESPEAKEDIT
|
||||
p->std_length = p->ph->std_length;
|
||||
#endif
|
||||
break;
|
||||
|
||||
case phSTOP:
|
||||
|
||||
Reference in New Issue
Block a user