soundsc(y) scales
the values of audio signal y to fit in the range
from –1.0 to 1.0, and then sends the data to the speaker at
the default sample rate of 8192 hertz. By first scaling the data, soundsc plays
the audio as loudly as possible without clipping. The mean of the
dynamic range of the data is set to zero.

soundsc(___,yRange),
where yRange is a vector of the form [low,high],
linearly scales the values in y between low and high to
the full sound range [-1.0,1.0]. Values outside [low,high] are
not clipped. You can use yRange with any of the
input arguments in the above syntaxes.

Audio data, specified as an m-by-1 column
vector for single-channel (mono) audio, or an m-by-2
matrix for stereo playback, where m is the number
of audio samples. If y is an m-by-2
matrix, then the first column corresponds to the left channel, and
the second column corresponds to the right channel. Stereo playback
is available only if your system supports it.

Bit depth of the sample values, specified as an integer. Valid
values depend on the audio hardware installed. Most platforms support
bit depths of 8 bits or 16 bits.

Range of audio data to scale, specified as a two-element vector
of the form [low,high], where low and high are
the lower and upper limits of the range.