How can i make custom words from talkie library using in arduino mega

Talkie library they are giving predefined words i want custom words ,how can i make that
i need for "battery" words and i make for custom words also

#include <Arduino.h>

#include "Talkie.h"
#include "Vocab_US_Large.h"

Talkie voice;

void setup() {
    voice.say(sp2_VOLTS);
delay(1000);
    voice.say(sp2_AMPS);
delay(1000);
}

void loop() {
}

in here VOLTS and AMPS are predefined words it working fine and so i need for custom here. I don't know how to make that. so please help me crack this and
Thank you

The talkie library uses LPC (Linear Predictive Encoding) to form the words.

So in order to create your own words, you have to create an audio file of the word, and then apply LPC to it.

So there are several steps, some involving other code and other processors. So search for

"Arduino LPC encoding"

Here is one I found but there are many others
PDF on lpc encoding for the Arduino's talkie library

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.