text-to-speech using Emic plateform
Archiver
Posts: 46,084
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]
' {$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
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]