Flite TTS Sample Rate

216 views Asked by At

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.

1

There are 1 answers

0
brhoover On

There is a function that will do this:

void cst_wave_resample(cst_wave *w, int sample_rate);