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 : Tone

Class Description:

A Tone is an object which plays a constant tone. You can set the volume, frequency and left-right balance of the tone. Creating the object will automatically start playing the tone. Deleting the object will cause the tone to stop playing.

Class methods:


set-balance to newBalance (double)

Sets the left/right balance of the sinewave to newBalance, a value between 0 and 1. .5 is perfectly balanced, while 1.0 plays the tone completely on the right channel and 0.0 plays the tone entirely on the left channel.


set-frequency to newFrequency (double)

Sets the frequency of the tone to newFrequency.


set-volume to newVolume (double)

Sets the volume of the tone to newVolume.


Documentation created Tue May 11 10:28:37 2004