speakjet_control_overview
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
speakjet_control_overview [2006/06/11 15:38] – audiocommander | speakjet_control_overview [2006/12/05 14:03] (current) – Removed progress-note, document is up-to-date. audiocommander | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | \\ | ||
+ | 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 (Mathmatical Sound Architecture) ====== | ||
+ | MSA commands are stored in the 64-Byte input buffer and are executed in the order they are received. | ||
+ | |||
+ | ===== MSA Controls ===== | ||
+ | An ' | ||
+ | |||
+ | ==== Pause Control ==== | ||
+ | 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//\\ | ||
+ | |||
+ | ==== Next Sound Control ==== | ||
+ | 007: Play next sound fast\\ | ||
+ | 008: Play next sound slow\\ | ||
+ | |||
+ | 014: Play next sound high\\ | ||
+ | 015: Play next sound low\\ | ||
+ | |||
+ | ==== Volume/ | ||
+ | 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//\\ | ||
+ | |||
+ | ==== Port Control ==== | ||
+ | 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//\\ | ||
+ | |||
+ | ==== Phrase Control ==== | ||
+ | 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 | ||
+ | |||
+ | ==== Reset ==== | ||
+ | 031: Reset Defaults | ||
+ | |||
+ | \\ | ||
+ | ===== MSA Sound Codes ===== | ||
+ | 128..254: MSA Sound Phrases and Effects, see [[SpeakJet Definition List]]. | ||
+ | |||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | ====== SCP (Serial Control Protocol) ====== | ||
+ | SCP commands are executed immediately and provide control over the 5-channel synthesizer as well as accessing the internal speakjet EEPROM. | ||
+ | |||
+ | \\ | ||
+ | ===== Entering SCP ===== | ||
+ | ' | ||
+ | |||
+ | ==== SCP Commands ==== | ||
+ | ' | ||
+ | * ' | ||
+ | * ' | ||
+ | ' | ||
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | \\ | ||
+ | ===== Exiting SCP ===== | ||
+ | ' | ||
+ | |||
+ | \\ | ||
+ | ===== Examples ===== | ||
+ | |||
+ | \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// | ||
+ | |||
+ | 8J 00N*\\ | ||
+ | //set env-type to SAW// | ||
+ | |||
+ | 8J 10N*\\ | ||
+ | //set env-type to TRIANGLE// | ||
+ | |||
+ | //* Don't send spaces, this is just for readability!// |