Shop OBEX P1 Docs P2 Docs Learn Events
text-to-speech using Emic plateform — Parallax Forums

text-to-speech using Emic plateform

ArchiverArchiver Posts: 46,084
edited 2003-11-10 15:55 in General Discussion
i have implemented the following code to generate speech.

' {$STAMP BS2}
' {$PBASIC 2.5}

INPUT 10 ' Serial data PROM Emic Platform
OUTPUT 9 ' Serial data to Emic Platform
INPUT 8 ' Busy pin from Emic Platform
RX CON 10
TX CON 9
BUSY CON 8
BAUD CON 396 ' 24 baud, 8-bit, no parity


however, when i run the code there is a chirping noise for about 10 seconds at
the start of the code. does anyone have any recommendations.


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-10 15:55
    Suggestion: It looks like you are using pin
    10 for RX, and pin 9 for TX. Power-up
    default is for input on all pins -- and
    pin 9 will become an output when you try
    to 'send' on it. So, remove the
    'OUTPUT 9' statement.

    My guess is you're inadvertently sending
    a whole string of '1's when you start up.



    --- In basicstamps@yahoogroups.com, Maria Yeo <yeomlb@y...> wrote:
    > i have implemented the following code to generate speech.
    >
    > ' {$STAMP BS2}
    > ' {$PBASIC 2.5}
    >
    > INPUT 10 ' Serial data PROM Emic Platform
    > OUTPUT 9 ' Serial data to Emic Platform
    > INPUT 8 ' Busy pin from Emic Platform
    > RX CON 10
    > TX CON 9
    > BUSY CON 8
    > BAUD CON 396 ' 24 baud, 8-bit, no parity
    >
    >
    > however, when i run the code there is a chirping noise for about 10
    seconds at the start of the code. does anyone have any
    recommendations.
    >
    >
    >
    > Do you Yahoo!?
    > Protect your identity with Yahoo! Mail AddressGuard
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.