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

AudioPlayer
has no op id!
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

youtube id

collections

related ops

Inputs

file (Number)

The audio file you want to play


play (Number)

Starts the playback when set to true


Autoplay (Number)

When true starts playback automatically


volume (Number)

How loud the audio file should be played back


Synchronized Player (Number)

Loop (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