Flite TTS Sample Rate

227 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 best solutions below

0
On

There is a function that will do this:

void cst_wave_resample(cst_wave *w, int sample_rate);