Play the AudioClip
using the given parameters. Values outside
the ranges as specified by their associated properties are clamped.
This method does not modify the clip's default parameters.
volume | Volume level at which to play this clip. Valid volume range is 0.0 to 1.0, where 0.0 is effectively muted and 1.0 is full volume. | |
balance | Left/right balance or relative channel volumes for stereo effects. | |
rate | Playback rate multiplier. 1.0 will play at the normal rate while 2.0 will double the rate. | |
pan | Left/right shift to be applied to the clip. A pan value of -1.0 means full left channel, 1.0 means full right channel, 0.0 has no effect. | |
priority | Audio effect priority. Lower priority effects will be dropped first if too many effects are trying to play simultaneously. |
Diagram: Media