Difference between revisions of "OSWORD &07"
m (Updated references.) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:OSWORD]] | [[Category:OSWORD]] | ||
− | {{ | + | {{PageTitle|OSWORD 7 (7): Generate a sound}} |
+ | __NOTOC__ | ||
==Specification== | ==Specification== | ||
On entry: | On entry: | ||
Line 10: | Line 11: | ||
==Calling from BBC BASIC== | ==Calling from BBC BASIC== | ||
* <code>SOUND channel,volume,pitch,duration</code> calls OSWORD &07. | * <code>SOUND channel,volume,pitch,duration</code> calls OSWORD &07. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Implementations== | ==Implementations== | ||
Line 23: | Line 19: | ||
&0xxx - Internal Sound system | &0xxx - Internal Sound system | ||
&1xxx - Internal Sound system | &1xxx - Internal Sound system | ||
− | &FExx - MIDI | + | &20xx - Watford Electronics Speech |
− | &FFxx - Speech | + | &FExx - MIDI control |
+ | &FFxx - BBC Speech system | ||
+ | |||
+ | ==See Also== | ||
+ | * [[SOUND]] for details on controlling the sound system | ||
+ | * [[Speech]] for details on controlling the Speech system | ||
+ | * [[MIDI]] for details on controlling a MIDI system | ||
+ | * [[ENVELOPE]] for details on envelopes | ||
+ | * [[OSWORD &08]] | ||
+ | * http://mdfs.net/Docs/Comp/BBC/Oswords | ||
[[User:Jgharston|Jgharston]] 13:15, 26 May 2009 (UTC) | [[User:Jgharston|Jgharston]] 13:15, 26 May 2009 (UTC) | ||
+ | [[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 22:54, 28 March 2015 (UTC) | ||
+ | [[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 17:57, 7 January 2023 (CET) |
Latest revision as of 17:57, 7 January 2023
OSWORD 7 (7): Generate a sound
Specification
On entry: XY+0..1=channel XY+2..3=volume or envelope XY+4..5=pitch XY+6..7=duration
Calling from BBC BASIC
-
SOUND channel,volume,pitch,duration
calls OSWORD &07.
Implementations
The high byte of the channel number specifies what type of sound to generate. Unrecognised channel numbers pass the call to sideways ROMs as an unrecognised OSWORD.
&0xxx - Internal Sound system &1xxx - Internal Sound system &20xx - Watford Electronics Speech &FExx - MIDI control &FFxx - BBC Speech system
See Also
- SOUND for details on controlling the sound system
- Speech for details on controlling the Speech system
- MIDI for details on controlling a MIDI system
- ENVELOPE for details on envelopes
- OSWORD &08
- http://mdfs.net/Docs/Comp/BBC/Oswords
Jgharston 13:15, 26 May 2009 (UTC) Jgharston (talk) 22:54, 28 March 2015 (UTC) Jgharston (talk) 17:57, 7 January 2023 (CET)