mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-03 14:59:52 +00:00
[1.40.21]
Fix: -g command option not working on Windows. Fix: Text position value in events was limited to 16 bits. [1.40.15] espeakedit: Change formant dialog to include Klatt parameters. espeakedit: Change the format of formant data to include Klatt parameters. espeakedit: Fix the frequency of F7,F8 at 7800Hz,9000Hz. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@220 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+17
-2
@@ -99,14 +99,14 @@ typedef struct
|
||||
|
||||
/* Structure for Klatt Parameters */
|
||||
|
||||
#define F_NP 0 // nasal zero formant
|
||||
#define F_NZ 0 // nasal zero formant
|
||||
#define F1 1
|
||||
#define F2 2
|
||||
#define F3 3
|
||||
#define F4 4
|
||||
#define F5 5
|
||||
#define F6 6
|
||||
#define F_NZ 9 // nasal pole formant
|
||||
#define F_NP 9 // nasal pole formant
|
||||
|
||||
|
||||
typedef struct
|
||||
@@ -135,4 +135,19 @@ typedef struct
|
||||
} klatt_frame_t, *klatt_frame_ptr;
|
||||
|
||||
|
||||
typedef struct {
|
||||
int freq; // Hz
|
||||
int bw; // klatt bandwidth
|
||||
int ap; // parallel amplitude
|
||||
int bp; // parallel bandwidth
|
||||
DOUBLEX freq1; // floating point versions of the above
|
||||
DOUBLEX bw1;
|
||||
DOUBLEX ap1;
|
||||
DOUBLEX bp1;
|
||||
DOUBLEX freq_inc; // increment by this every 64 samples
|
||||
DOUBLEX bw_inc;
|
||||
DOUBLEX ap_inc;
|
||||
DOUBLEX bp_inc;
|
||||
} klatt_peaks_t;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user