Difference between revisions of "AGI Command Reference - Sound Resource Management Commands"

From AGI Wiki
Jump to navigationJump to search
Line 27: Line 27:
 
 
 
 
  
 +
== <br />load.sound(n); ==
  
== <br />sound(n, m); ==
+
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

Page: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16


Sound Resource Management Commands
By Chris Cromer

 


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.

 

Page: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16


Tutorials Table of Contents
AGI Command Reference Index

< Previous: PIC Resource Management CommandsNext: Text Management Commands >