30006 Parallax Inc, 30006 Datasheet - Page 21

MODULE EMIC TTS SIP FEMALE

30006

Manufacturer Part Number
30006
Description
MODULE EMIC TTS SIP FEMALE
Manufacturer
Parallax Inc
Datasheet

Specifications of 30006

Module/board Type
Text-to-Speech SIP Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Parallax microcontroller
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
' Process Menu command
Play_Msg:
Play_SFX:
Ph_Demo:
Parallax, Inc. • Emic Text-To-Speech Module (#30006) • 02/2005
DEBUGIN cmd
LOOKDOWN cmd, ["1122aAfFxXvVsSpPrR"], cmd
cmd = cmd / 2
IF (cmd > 8) THEN Main
BRANCH cmd, [Play_Msg, Play_Msg, Play_Msg,
GOTO Main
DEBUG CLS, "Saying: "
LOOKUP cmd, [Demo1, Demo2, UseAbbr, UseAbbr], eePntr
GOSUB Print_String
LOOKUP cmd, [Demo1, Demo2, UseAbbr, UseAbbr], eePntr
GOSUB Say_String
GOSUB Check_Busy
PAUSE 500
GOTO Main
DEBUG CLS, "Speech and Sound Effects"
eePntr = Dial
GOSUB Say_String
GOSUB Check_Busy
eePntr = Phone
GOSUB Say_String
GOSUB Check_Busy
SEROUT Tx, Baud, [Audio, EOM]
eePntr = Phone
GOSUB Dial_Phone
PAUSE 1000
' ring tone
FREQOUT AOut, 2000 */ TmAdj, 440 */ FrAdj, 480 */ FrAdj
INPUT AOut
SEROUT Tx, Baud, [EOM]
GOSUB Check_Busy
PAUSE 500
GOTO Main
DEBUG CLS, "Standard: 'Parallax'", CR
SEROUT Tx, Baud, [Say, "Parallax", EOM]
Ph_Demo, Play_SFX,
Set_Volume, Set_Speed, Set_Pitch,
Get_Rev]
' get command
' convert to number
' allow for upper/lower
' validate command
' say "Dialing..."
' say phone number
' enable Emic Ain
' play DTMF phone number
' release
21

Related parts for 30006