These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

## Abstract : Sound

This class is included as part of the file Sound.tz.
To use this class in a simulation, include the line "@use Sound."

### Class description:

> The Sound class allows sound files to be loaded and played in a simulation. The sound file, in WAV or AIFF format, is loaded using the method METHOLD(load). The sound can then be played using play. The same sound effect can be played several times simultaneously by making repeated calls to play.

### Class methods:

> - load
> - play

`load from-file file (string)`

> Loads the sound-file filename using the current breve search path. Returns self.

`play with-speed speed = 1.0 (float)`

> Begins playing this sound. The optional argument speed specifies the speed (and accompanying frequency change) of the sound.

Documentation created Thu Jul 3 18:18:12 2008