Difference between revisions of "AGI Command Reference - Sound Resource Management Commands"
From AGI Wiki
Jump to navigationJump to searchLine 27: | Line 27: | ||
| | ||
+ | == <br />load.sound(n); == | ||
− | + | Loads into memory the SOUND resource number n, i.e. Sound(n). Note that there is no way of loading a sound with indirection. The command <code>load.sound.v</code> does not exist. | |
+ | |||
+ | == sound(n, m); == | ||
<blockquote>Starts playback of the SOUND resource number n. When finished, Flag(m) is set to 1.</blockquote> | <blockquote>Starts playback of the SOUND resource number n. When finished, Flag(m) is set to 1.</blockquote> |
Revision as of 21:55, 25 December 2013
Tutorials Table of Contents
AGI Command Reference Index
load.sound(n);
Loads into memory the SOUND resource number n, i.e. Sound(n). Note that there is no way of loading a sound with indirection. The command load.sound.v
does not exist.
sound(n, m);
Starts playback of the SOUND resource number n. When finished, Flag(m) is set to 1.
stop.sound();
Stops the playback.
Tutorials Table of Contents
AGI Command Reference Index
< Previous: PIC Resource Management CommandsNext: Text Management Commands >