MediaPlayer Op

MediaPlayer

This op is deprecated!

It will not receive any updates

Plays back audio files


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).


Full Name
  • Ops.Extension.Deprecated.MediaPlayer
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by Team








No op example found on this server

INPUT PORTS


Volume (Number)

Playback-Volume, 1.0 = normal, 0.0 = silent

File (Number: string)

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)

OUTPUT PORTS


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)


Patches using MediaPlayer

  • Examples
  • Public
  • My Patches

Changelog


Ops.WebAudio.MediaPlayer renamed to Ops.Deprecated.WebAudio.MediaPlayeruser avatarpandur - 2021-01-13 08:51