SCI Kernel Documentation/Sound Functions: Difference between revisions
No edit summary |
|||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:SCI Pages]] | |||
[[Official SCI Documentation]]<br /> | [[Official SCI Documentation]]<br /> | ||
[[SCI Kernel Documentation|Table of Contents]] | |||
| |||
<div align="center"> | <div align="center"> | ||
Chapter: | Chapter: | ||
| Line 21: | Line 23: | ||
[[SCI Kernel Documentation/Debugging Functions|17]] | | [[SCI Kernel Documentation/Debugging Functions|17]] | | ||
[[SCI Kernel Documentation/Index|Index]] | [[SCI Kernel Documentation/Index|Index]] | ||
</div> | </div> | ||
<div align="center"><span style="font-size: 22pt">Sound Functions</span><br />''Author: [[Jeff Stephenson]] 1988-04-04''<br />''Revision by: [[David Slayback]] 1989-07-25''</div></div> | |||
<div align="center"><span style="font-size: 22pt">Sound Functions</span><br /> | |||
''Author: [[Jeff Stephenson]]''<br /> | |||
''Revision by: David Slayback''</div> | |||
<br /> | |||
==<br /> Sound Functions == | ==<br /> Sound Functions == | ||
| Line 103: | Line 101: | ||
</blockquote> | </blockquote> | ||
==<br /> References == | |||
<references /><!-- Do not edit this section. It is autopopulated by <ref></ref> tags --> | |||
==<br /> Also See == | |||
< | |||
* [[:Category: Documentation| Documentation]] | |||
* [[:Category: Official Documentation| Official Documentation]] | |||
* [[:Category: Kernel Functions| Kernel Functions]] | |||
* [[Sound Resource (SCI)]] | |||
* [[SCI Specifications: Chapter 1 - Introduction#SND|Sound Resources in the SCI Specifications]] | |||
* [[:Category:Sound Resources|Sound Resource Articles]] | |||
| | ||
[[SCI Kernel Documentation | Table of Contents]] | [[Official SCI Documentation]]<br /> | ||
[[SCI Kernel Documentation|Table of Contents]] | |||
<span style="float: left">[[SCI Kernel Documentation/Window and Text Functions|< Previous: Window and Text Functions]]</span> | <span style="float: left">[[SCI Kernel Documentation/Window and Text Functions|< Previous: Window and Text Functions]]</span> | ||
<span style="float: right">[[SCI Kernel Documentation/Arithmetic Functions|Next: Arithmetic Functions >]]</span> | <span style="float: right">[[SCI Kernel Documentation/Arithmetic Functions|Next: Arithmetic Functions >]]</span> | ||
| | ||
[[Category:References]] | |||
[[Category:Historical Pages]] | |||
[[Category:Development]] | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category: | [[Category:Official Documentation]] | ||
[[Category: | [[Category:Technical Info]] | ||
[[Category: | [[Category:Kernel Functions]] | ||
[[Category: | [[Category:Sound Functions]] | ||
[[Category:Sound Resources]] | |||
Latest revision as of 20:15, 25 December 2025
Official SCI Documentation
Table of Contents
Sound Functions
(DoSound InitSound sound)
Initialize the sound. Will set handle property of object to the internal sound node.
(DoSound PlaySound sound)
Plays the sound, if no other higher priority sounds are playing.
(DoSound NextSound)
Not implemented yet.
(DoSound KillSound handle)
Kill the sound given in handle.
(DoSound SoundOn [soundFlag])
If soundFlag is present, it will either turn on sound output if soundFlag is TRUE or turn off sound output if soundFlag is FALSE. If soundFlag is not present, it will returns TRUE if sound output is on, FALSE otherwise.
(DoSound StopSound handle)
Stop the sound specified in handle from playing.
(DoSound PauseSound value)
If value is TRUE, pause all the active sounds and set state to SND_BLOCKED.. If value is FALSE, then unpause all blocked sounds.
(DoSound RestoreSound)
Loads all sounds in sound list and starts playing the one that is active that has the highest priority.
(DoSound ChangeVolume vol)
Sets the volume to vol, where vol can be between 0 and 100.
(DoSound ChangeSndState soundObj)
Change the state of the internal sound node to correspond to the values in soundObj.
(DoSound FadeSound handle)
On systems with volume control, fade away the sound given in handle. Otherwise, a StopSound is implemented in the music driver.
(DoSound NumVoices)
Returns the number of voices in the sound hardware.
References
Also See
- Documentation
- Official Documentation
- Kernel Functions
- Sound Resource (SCI)
- Sound Resources in the SCI Specifications
- Sound Resource Articles
Official SCI Documentation
Table of Contents
< Previous: Window and Text Functions Next: Arithmetic Functions >