Because the information in the SpeakJet Manual is relatively wide spreaded, this page gives a quick overview of the control possibilities of the Speakjet:
MSA commands are stored in the 64-Byte input buffer and are executed in the order they are received.
An 'X' indicates that a second number should follow as parameter.
000: Pause 0 ms
001: Pause 100 ms
002: Pause 200 ms
003: Pause 700 ms
004: Pause 30 ms
005: Pause 60 ms
006: Pause 90 ms
016: Wait Watch out! Waits for event input line or SCP-Start command!
030: Delay, X number of 10 ms intervals to delay before continuing on to the next code, accepts 0-255
007: Play next sound fast
008: Play next sound slow
014: Play next sound high
015: Play next sound low
020: Volume, X sets Master Volume Level, accepts 0-127
021: Speed, X Play Speed, default 114, accepts 0-127
022: Pitch, X Pitch in Hertz, only for voiced sounds, default 88, accepts 0-255 (=32kHz..240kHz)
023: Bend, X Sets the Frequency Band (from deep hollow to high metallic), default 5, accepts 0-15
024: PortCtr, X binaurally encoded output line control, see manual for details, default 7, accepts 0-7
025: Port, X port output value, see manual for details, default 0, accepts 0-7
026: Repeat, X repeats the next code x-times, accepts 0-255
028: Call Phrase, X which EEPROM phrase to play, max 3 level deep nesting
029: Goto Phrase, X which EEPROM phrase to play
255: End of Phrase
031: Reset Defaults
128..254: MSA Sound Phrases and Effects, see SpeakJet Definition List.
SCP commands are executed immediately and provide control over the 5-channel synthesizer as well as accessing the internal speakjet EEPROM.
'\0' to enter SCP
'H': Store Memory Type accepts 0 and 32
'J': Memory Address
'N': Store Memory
'R': Clear Buffer
'S': Stop Enounciating
'T': Start Enounciating
'W': Hard Reset
'X' or '\A'
\0 V X*
Enters SCP-Mode, enounciates READY and exits SCP-mode
8J 0N 1J 500N 11J 16N*
1st OSC freq 500 and vol 16
0J 32H 01N*
write 0x1 to the first location of internal EEPROM
set env-type to SAW
set env-type to TRIANGLE
* Don't send spaces, this is just for readability!