How to add new vocabulary to Talko, the easy way

Previously, I had described here: how to do compress sound using a venerable Windows 3.1 tool: Qbox Pro. The process what quite long to setup and not always producing good results.

Today I discovered BlueWizard from this post.

BlueWizard runs on Mac and allows to tweak the process in real time to optimize the output!  The author has been kind enough to make some small tweaking just for the Arduino and Talko !

Simply open your file (which has to be recorded at 8 kHz with 16-bit depth ), click on the 2 tick boxes:
– “include hex prefix (0x)” to allow direct pasting into the Arduino IDE
– and “include explicit stop frame” to avoid the library producing gibberish noise a the end of the sound

then copy the resulting the data from the “Byte Stream” windows.


Open the Arduino IDE and paste the data stream into your code before uploading it to Talko.

Let’s make  a sound and process it:

say -v"alex" "We are charging our battery. And now we are full of energy. We are the robots." -r 100 -o roboter.wave

converting to 8 kHz with 16-bit depth using SoX

sox roboter.wave -r 8k -b16 roboter.wav

and the compressed version made with Talko :

the Arduino code:

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha *