going-digital / Talkie

Speech library for Arduino
305 stars 113 forks source link

Use just 39 sounds to make any english word #33

Open donovanmagryta opened 5 years ago

donovanmagryta commented 5 years ago

Hi,

Have you considered using the 39 sounds that compose almost all english words to more efficiently use memory?

For example:

Phoneme Example Translation


    AA  odd     AA D
    AE  at  AE T
    AH  hut HH AH T
    AO  ought   AO T
    AW  cow K AW
    AY  hide    HH AY D
    B   be  B IY
    CH  cheese  CH IY Z
    D   dee D IY
    DH  thee    DH IY
    EH  Ed  EH D
    ER  hurt    HH ER T
    EY  ate EY T
    F   fee F IY
    G   green   G R IY N
    HH  he  HH IY
    IH  it  IH T
    IY  eat IY T
    JH  gee JH IY
    K   key K IY
    L   lee L IY
    M   me  M IY
    N   knee    N IY
    NG  ping    P IH NG
    OW  oat OW T
    OY  toy T OY
    P   pee P IY
    R   read    R IY D
    S   sea S IY
    SH  she SH IY
    T   tea T IY
    TH  theta   TH EY T AH
    UH  hood    HH UH D
    UW  two T UW
    V   vee V IY
    W   we  W IY
    Y   yield   Y IY L D
    Z   zee Z IY
    ZH  seizure S IY ZH ER
cribcat commented 5 years ago

I am working on that based from the SPO-al2 speech synth chip data sheet from GI. The chip uses about 80mA @ 5V so an AVR or PIC solution is desired. The encoding of the phonemes is tedious work. The end result should be around 64 phonemes which average out to about 50 bytes each plus the arduino code@ 3600 bytes. Would like to code it in assembler but I don't understand CPP well enough to Port it. Great algorithm for speech experimenters though.