beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.WebAudio.AudioPlayer

AudioPlayer
op id:46f34657-e42b-421b-a632-0e76d190e9ff
Plays an audio file, linked to timeline

summary (oneliner)

Play back an audio file (MP3 or OGG), the playback is linked to the timeline, when you hit the Space-key playback will start / stop.

doc

issues

youtube id

collections

related ops

Inputs

file (string Number)

The audio file you want to play


play (boolean Number)

Starts the playback when set to true


Autoplay (boolean Number)

When true starts playback automatically


volume (Number)

How loud the audio file should be played back


Synchronized Player (boolean Number)

Loop (boolean Number)

Set to true to enable looping


Outputs

audio out (Object)

The audio out object, can be connected to the Ops.WebAudio.Output op e.g.


playing (Number)

true if it is currently playing


ended (Function)

Triggers once the playback has ended


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using AudioPlayer

Public Patches using AudioPlayer