soundfilepath |
The path (complete or relative) to a soundfile |
formatOut |
A string. defaults to \straight which simply plays the soundfile directly to the output. If your file is a BFormat file (3 or 4 channel) you can choose:
|
starttime |
An initial starttime for playback. |
outbus |
The starting outbus for playback. |
amp |
An initial amplitude value. |
xywz |
Expects true or false. This will decode Ambsonic files recorded for middle side monitoring. (default is false) |
env |
Any fixed duration envelope (Env, InterplEnv, InterplXYC) to be played over the soundfiles duration. |
Plays the soundfile.
Pauses the soundfile. Playback resumes where the file was paused.
Stops the soundfile. Playback begins from starttime.
Changes the output format
Change the starttime.
Change the endtime.
Create a GUI controller with optional scope.
// create a new player a = Player.new(Platform.resourceDir +/+ "sounds/a11wlk01-44_1.aiff") // play it a.play; // pause it a.pause; // play it again a.play; // stop it a.stop; // create a GUI a.gui;