Shop OBEX P1 Docs P2 Docs Learn Events
Emic module pronoucing alpahabet instead of speaking the word — Parallax Forums

Emic module pronoucing alpahabet instead of speaking the word

timextimex Posts: 21
edited 2008-09-25 11:39 in General Discussion
I suceeded in making my emic module talk. Whenever I send a single word, it converts the word to speech. But when I send a sentence, it pronouces each letter of the sentence and converts the last word of the sentence to speech, not the others. What have I done wrong?

Post Edited (timex) : 9/23/2008 10:07:01 AM GMT

Comments

  • ZootZoot Posts: 2,227
    edited 2008-09-23 12:49
    Can you post your code? Are you sending text in all caps?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • timextimex Posts: 21
    edited 2008-09-24 19:20
    Ok, my code is for Atmel's AT89C51. Yes, I'm sending text in caps. Will that be a problem?
  • ZootZoot Posts: 2,227
    edited 2008-09-24 19:39
    Text in "all caps" get spelled out, e.g.,:

    Cat is spelled CAT

    will speak

    "cat is spelled see ai tee"

    I learned this the hard way last year. Undocumented feature.

    However, after a bit of work, I tracked down some documentation for the (now obsolete) Winbond TTS chip used in the Emic (and the Devantech SP03).

    Turns out you can slip control characters (like the ^p for phoentics) into the serial byte stream to control what happens in case of caps, abbreviations and the like:

    attachment.php?attachmentid=55984

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php


    Post Edited (Zoot) : 9/24/2008 7:44:41 PM GMT
    523 x 159 - 32K
  • timextimex Posts: 21
    edited 2008-09-24 19:46
    Ok. I'll send text in non- cap format. Thanks for the information.
  • timextimex Posts: 21
    edited 2008-09-25 11:39
    I sent the text in non- cap format and it works very well. Thanks for the assistance.
Sign In or Register to comment.