Shop OBEX P1 Docs P2 Docs Learn Events
Emic Text-to-speech — Parallax Forums

Emic Text-to-speech

SkipSkip Posts: 3
edited 2005-04-14 19:52 in BASIC Stamp
Anyone know of a source of additional info on this chip; possibly sample BS2 listing?

Thanks!

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-14 05:01
    http://www.parallax.com/detail.asp?product_id=30006

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • SkipSkip Posts: 3
    edited 2005-04-14 11:11
    Thank you for your speedy reply.

    As an admitted newbie to PBASIC and Stamps, I practice the LBSA (Learn By Stumbling Around) method of education.

    I'm trying to figure out how to pass a variable to the Emic chip. I can get the chip to speak text strings but what I want is to be able to have it announce the value of a constantly changing variable (the distance being returned by an ultrasonic transducer).

    Any pointers would be appreciated.

    Thanks again.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-14 13:26
    Try LBRTM (learning by reading the manual) ... it's faster.··tongue.gif

    You can insert a value as text into a string by using the DEC modifier.· For example:

    Say_Temp:
    · SEROUT Tx, Baud, [noparse][[/noparse]Say, "The current temperature is ", DEC tempF, " degrees.", EOM]
    · RETURN

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA


    Post Edited (Jon Williams) : 4/14/2005 2:15:07 PM GMT
  • SkipSkip Posts: 3
    edited 2005-04-14 13:31
    Point taken.

    Thanks.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-14 13:35
    The Emic is actually pretty easy to use, and the demo code should help you through what you're looking to do. If you run into trouble, post your code and what you want it to do -- lots of us will jump in and help you out.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • John KauffmanJohn Kauffman Posts: 653
    edited 2005-04-14 14:01
    I pulled it out of the bag, hooked up as per manual on a homework board and had a fine demo in just a few minutes. I sent the output to an internal speaker I pulled from a broken PC.

    My students really enjoyed the show-and-tell.· I let them modify the code and those·middle school boys were quick to test and point out that the pronunciation of various profanities was clear but not with the right street inflection. At least they are learning something in the process.
  • PLJackPLJack Posts: 398
    edited 2005-04-14 19:52
    Jon Williams said...
    Try LBRTM (learning by reading the manual) ... it's faster.

    Thanks for the out loud laugh.

    Jack
Sign In or Register to comment.