Is it possible to change the sample rate of the audio output in flite tts? The default output is 16 kHz PCM and I'd like to change it to output 8 kHz.
Asked
Active
Viewed 150 times
0
-
Hey and welcome, which programming language are you using? There are many Text-To-Speech provider – KargWare Feb 23 '21 at 18:50
-
This is using the flite TTS engine in C. – brhoover Feb 24 '21 at 21:31
1 Answers
0
There is a function that will do this:
void cst_wave_resample(cst_wave *w, int sample_rate);

brhoover
- 1