Outputs a stream of audio from a file.
If you drag an audio file from your computer onto the composition, an instance of this node will be created with the
URL port set up.
When the composition starts or this node is added to a running composition, the audio file is paused at
Set Time seconds from the beginning. It starts playing when the
Play input port receives an event.
Play— When this port receives an event, the audio file starts playing from the current playhead time. If it was already playing, it continues.
Pause— When this port receives an event, the audio file stops playing and keeps the playhead at the current time.
Set Time— The time in the audio file where the playhead should start, in seconds. When this port receives an event, the playhead goes to that time. If the audio file was playing, it continues playing. If it was paused, it stays paused.
URL— The audio file to play. When this port receives an event, the audio file is loaded (or reloaded, if
URLhas not changed), and the playhead goes to the time specified by the
Set Timeinput port. If the audio file was playing, it continues playing. If it was paused, it stays paused. See vuo.url for info on how Vuo handles URLs.
Loop— What to do when the playback reaches the end of the audio file.
Decoded Channels— Fires an event each time an audio sample buffer is decoded from the file. Each item in the list corresponds to one audio channel (item 1 with channel 1, item 2 with channel 2, etc.). The audio samples for each channel are typically numbers between -1 and 1.
Finished Playback— Fires when playback has reached the end of the audio file, including when playback is set to loop. (It does not fire when pausing the audio, or when there is an error decoding the audio.)
Keywords: 3gp, aac, ac3, aiff, amr, bang, events, fire, listen, m4a, mp2, mp3, music, sound, trigger, wave