Difference between revisions of "SOUND"
m (Updated references.) |
m (Link to WE Speech.) |
||
Line 31: | Line 31: | ||
| &1xxx || Sound generator | | &1xxx || Sound generator | ||
|- | |- | ||
− | | &20xx || Watford Electronics Speech system | + | | &20xx || Watford Electronics Speech system<ref>[http://archive.retro-kit.co.uk/bbc.nvg.org/doc/WatfordSpeechSynthesizerOperatingManual.zip Watford Speech Synthesizer Manual]</ref> |
|- | |- | ||
| || | | || |
Revision as of 20:53, 4 August 2015
SOUND is a BASIC command to make sounds.
Availability | Present in all original versions of BBC BASIC. | |
Syntax | SOUND <numeric>,<numeric>,<numeric>,<numeric>
| |
Token (hex) | D4 (command)
| |
Description | Generates sounds. |
Description
SOUND
calls OSWORD &07 to generate sounds. It is most
commonly used to generate sounds with the internal sounds generator, but it
can also be used to create speech or MIDI sounds, as specified by the
channel parameter.
Defined channel numbers
Argument | Returns |
&0xxx | Sound generator |
&1xxx | Sound generator |
&20xx | Watford Electronics Speech system[1] |
&FExx | MIDI control [2] |
&FFxx | Speech system [3] |
Trivia
In the original development of BBC BASIC, the sound command was BEEP
which can be seen from the token position for SOUND
, alphabetically with other keywords starting with 'B'[4]:
Originally: Became: D4: BEEP D4: SOUND D5: BPUT D5: BPUT D6: CALL D6: CALL D7: CHAIN D7: CHAIN etc.
References
Jgharston 00:30, 2 January 2008 (UTC)