Uses Praat to get LPC coefficients and convert them to C structures/arrays. The output data is small enough and the decoding is simple enough to be performed even on small embedded platforms.
-
Run the Python conversion script.
python3 generate.pyThe output will be two files:
lpc_data.candlpc_data.h. The generated phrases/words are in thedatalist, in thegenerate.pyscript. -
Build the example decoder application:
cd decoder mkdir build cd build cmake .. make -
Run the application:
./decoder_test | play -r 16000 -c 1 -b 16 -t s16 -or
./decoder_test | sox -r 16000 -c 1 -t s16 - out.wavto export to .wav file