Shop OBEX P1 Docs P2 Docs Learn Events
Emic Text To Speech — Parallax Forums

Emic Text To Speech

ArchiverArchiver Posts: 46,084
edited 2003-11-10 17:06 in General Discussion
Hello ...

I have the Emic Text to Speech module, and I'm using the BS2 to
control it, I want it to have a sentence read, then pause for a
certain amount of time then have another sentence read. I don't know
how to write the code for the time delay(pause) between two
sentences, anyone have any suggestions?

Thank you very much! I will appreciate any help ...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-05 22:18
    What you'd have to do is monitor the busy line and wait for it to go
    away -- then send your next sentence. Just remember that it takes a bit
    of time to send the sentence to the Emic, and then it has to be
    processed to speech by the device.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office



    Original Message
    From: spd_lex [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=01gjIJK4S-PbdRUfIY0ixPiXDN6_1bcODQjBM2faEj2W78pTEIKPtGv1TeLgt0eocENC2LlnJ4A]spd_lex@y...[/url
    Sent: Wednesday, November 05, 2003 2:03 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Emic Text To Speech


    Hello ...

    I have the Emic Text to Speech module, and I'm using the BS2 to control
    it, I want it to have a sentence read, then pause for a certain amount
    of time then have another sentence read. I don't know how to write the
    code for the time delay(pause) between two sentences, anyone have any
    suggestions?

    Thank you very much! I will appreciate any help ...







    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-05 22:31
    i have seen you mention , nuts and volts . being new what is it .
    thanks
    henry
    Original Message
    From: "Jon Williams" <jwilliams@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, November 05, 2003 4:18 PM
    Subject: RE: [noparse][[/noparse]basicstamps] Emic Text To Speech


    > What you'd have to do is monitor the busy line and wait for it to go
    > away -- then send your next sentence. Just remember that it takes a bit
    > of time to send the sentence to the Emic, and then it has to be
    > processed to speech by the device.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    >
    Original Message
    > From: spd_lex [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=PjQf8V8QZjgi2OpQjcO9NMf7CuJ5b9vEvCiCX8BzfswJZYbnH4C8TG2tzpC147J3GvOVwGJy2xEtaO0x]spd_lex@y...[/url
    > Sent: Wednesday, November 05, 2003 2:03 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Emic Text To Speech
    >
    >
    > Hello ...
    >
    > I have the Emic Text to Speech module, and I'm using the BS2 to control
    > it, I want it to have a sentence read, then pause for a certain amount
    > of time then have another sentence read. I don't know how to write the
    > code for the time delay(pause) between two sentences, anyone have any
    > suggestions?
    >
    > Thank you very much! I will appreciate any help ...
    >
    >
    >
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject
    > and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p....
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-05 23:28
    Nuts & Volts is an electronics magazine ... www.nutsvolts.com. I write
    a monthly column on programming BASIC Stamps (the Javelin gets some
    coverage too).

    -- Jon Williams
    -- Parallax

    Original Message
    From: Henry [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=U5Fntgp0dOudVJuY09wfA5D-B2-S_BsF-4WI3AH-TTv34U-ijV22b48bBVKbNDpv2rV7KLoCr_Y7UAEKaMJG-1U]lorussoh@a...[/url
    Sent: Wednesday, November 05, 2003 4:32 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Emic Text To Speech


    i have seen you mention , nuts and volts . being new what is it . thanks
    henry
    Original Message
    From: "Jon Williams" <jwilliams@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, November 05, 2003 4:18 PM
    Subject: RE: [noparse][[/noparse]basicstamps] Emic Text To Speech


    > What you'd have to do is monitor the busy line and wait for it to go
    > away -- then send your next sentence. Just remember that it takes a
    > bit of time to send the sentence to the Emic, and then it has to be
    > processed to speech by the device.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    >
    Original Message
    > From: spd_lex [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=R_FX1PuoSh3WCWi-UVSF3aEDZWk-Rzmuph_2tMpGJiOI3uO_yC6xumJQLwYjHrW57QcJqy4EzSNqkQBN]spd_lex@y...[/url
    > Sent: Wednesday, November 05, 2003 2:03 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Emic Text To Speech
    >
    >
    > Hello ...
    >
    > I have the Emic Text to Speech module, and I'm using the BS2 to
    > control it, I want it to have a sentence read, then pause for a
    > certain amount of time then have another sentence read. I don't know
    > how to write the code for the time delay(pause) between two sentences,

    > anyone have any suggestions?
    >
    > Thank you very much! I will appreciate any help ...
    >
    >
    >
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject
    > and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p....
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject
    > and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-06 04:05
    Hi!

    Do anyone know about writing on an external eeprom, from the book "Stamp Works"
    version 1.2
    on page 200, there is interesting code lines about I2C communications. I wrote
    all of this program
    and i'm trying to put a value to the variable "outval" , transfert it to my
    24LC32 and retrive it,
    but while running the program, the answer is always " 255 " and "fail" . I know
    that at least I see
    the "Fail" subroutine work marvellously but it is not really what I'm looking
    for!

    I wrote
    Main:
    outval = 150 'I put 150 to outval
    i2cdata = outval 'i2cdata is the variable used for transfert
    gosub write_byte ' I expect it write the value "150" to the 24LC32
    pause 10
    gosub read_byte 'supposed to read my data "150" from the 24LC32
    inval = i2cdata 'supposed to get "150" from 24LC32 i2cdata
    variable
    debug ? inval ' instead of that, it display "255"
    if (inval <> outval) then Bad_addr 'this work very well
    debug " PASS " 'never been displayed of course
    goto next_addr

    So, if anyone have simples code or correction to get better understanding.

    Thanks

    Rene
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-06 04:07
    If you have a good part and it's all connected properly, there is no
    reason that the program shouldn't work for you as well as it does for
    me. I've been using the I2C routines included in that experiment in
    lots of projects with a lot of success, and even ported them to the
    Javelin Stamp.

    Here's some additional information abour using I2C with the stock BS2:

    http://www.parallax.com/dl/docs/cols/nv/vol3/col/85.pdf

    -- Jon Williams
    -- Parallax


    Original Message
    From: rene genest [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=wB-E2_LqGPG6xiiOers76xtxkrv_h1-gPrcikxkYoMP485v8G3nXsAxwJR2rSXlCImRz9a3kvlTrCSwRR5YFLg]rene.genest@q...[/url
    Sent: Wednesday, November 05, 2003 10:05 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Emic Text To Speech


    Hi!

    Do anyone know about writing on an external eeprom, from the book "Stamp
    Works" version 1.2 on page 200, there is interesting code lines about
    I2C communications. I wrote all of this program and i'm trying to put a
    value to the variable "outval" , transfert it to my 24LC32 and retrive
    it, but while running the program, the answer is always " 255 " and
    "fail" . I know that at least I see the "Fail" subroutine work
    marvellously but it is not really what I'm looking for!

    I wrote
    Main:
    outval = 150 'I put 150 to outval
    i2cdata = outval 'i2cdata is the variable used for
    transfert
    gosub write_byte ' I expect it write the value "150" to the
    24LC32
    pause 10
    gosub read_byte 'supposed to read my data "150" from the
    24LC32
    inval = i2cdata 'supposed to get "150" from 24LC32
    i2cdata variable
    debug ? inval ' instead of that, it display "255"
    if (inval <> outval) then Bad_addr 'this work very well
    debug " PASS " 'never been displayed of course
    goto next_addr

    So, if anyone have simples code or correction to get better
    understanding.

    Thanks

    Rene


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-10 17:06
    Hi. What exactly is Emic text to speech? Could you give me some
    more info. or a website so I can check it out? It sounds very
    interesting.

    --- In basicstamps@yahoogroups.com, "spd_lex" <spd_lex@y...> wrote:
    > Hello ...
    >
    > I have the Emic Text to Speech module, and I'm using the BS2 to
    > control it, I want it to have a sentence read, then pause for a
    > certain amount of time then have another sentence read. I don't know
    > how to write the code for the time delay(pause) between two
    > sentences, anyone have any suggestions?
    >
    > Thank you very much! I will appreciate any help ...
Sign In or Register to comment.