Skip to content

Generation of Audio Files

Phil Schatzmann edited this page Feb 19, 2022 · 23 revisions

I used the TTS functionality of google translate to generate the mp3 files. Then I executed xxd to generate a .h file from an mp3 recording with:

xxd -i mp3file.mp3 header-file.h

The header files are then made available with the logic that can be found in AudioDictionary.h

You can prepare your own audio data easily with the help of the CSV file. Details can be found in the tools directory

Clone this wiki locally