Math
Sean Luke 	seanl@cs.umd.edu
November 28, 1997

Math is a module which demonstrates how to build Resound modules.  Its source code is located in the APIExamples directory.  Math's operations work for 8-bit linear, 8-bit mulaw, 16-bit linear, floating-point and double-precision floating-point sounds. 

Math adds to the Modules menu the following menu options:

	¬
	
			¬
	
Reverse
The Reverse menu option reverses (flips in time) the selection.  Reverse properly reverses each channel independently.

Change Amplitude...
Change Amplitude... brings up a panel which allows the user to change the amplitude of the selection.  The user can manually set the amplitude to change, or has the option of halving the amplitude, doubling it, or setting it so that the sound is at its maximum amplitude without clipping.

Vertical Shift...
Vertical Shift... brings up a panel which allows the user to shift the selection's amplitude values positively or negatively.   Ordinarily this won't change much in the sound quality, because a sound's tonality is based not on its absolute amplitude position, but on its sample amplitudes relative to one another.  However, this may be useful for certain esoteric purposes, primarily in mixing two sounds together.

Invert
Invert negates all the amplitude values in the selection, effectively flip-flopping its phase.  Just as in vertical shifting, this won't change much of the sound tonality.  However, it may be useful for certain esoteric purposes, primarily in mixing two sounds together.

Absolute Value
Absolute Value sets all the amplitude values in the selection to their absolute values (that is, negative values become positive, positive values stay positive).  This is a weird but extremely unlikely tool, and was included mostly for demonstration purposes.