beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Plays back audio files

summary (oneliner)

Plays an audio-file and allows you to seek / jump to a position. Audio files can be uploaded via drag’n’dropping to the cables-window. When upload is complete you can select it in the project-file-browser. Should also work with audio-files which are hosted somewhere else (untested).

doc

issues

youtube id

collections

related ops

Inputs

Volume (Number)

Playback-Volume, 1.0 = normal, 0.0 = silent


File (string /Number)

The audio-file to play back, upload one by drag’n’dropping it to the window and then select if from the project-files or pick one from the library.


Play (Trigger)

Starts the audio-playback


Pause (Trigger)

Stops the audio-playback


Rewind (Trigger)

Sets the playhead to the beginning


Seek Position (Seconds) (Number)

Set this to the position in the audio file you want to jump to (in seconds). You need to call Jump To Seek Position to actually perform the jump afterwards.


Jump To Seek Position (Trigger)

Jumps / Seeks to the position Seek Position (Seconds)


Outputs

Audio Out (Object)

Connect this e.g. to a Ops.WebAudio.Output to hear the sound


Duration (Number)

The duration of the current audio file (in seconds)


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Credits


Changelog


Ops.WebAudio.MediaPlayer renamed to Ops.Deprecated.WebAudio.MediaPlayer
2021-01-13 - pandur

Examples using MediaPlayer

Public Patches using MediaPlayer