SamplePlayer Op

SamplePlayer

This op is deprecated!

It will not receive any updates

Plays back one shot samples on trigger (useful for interaction sound)


Use this op to play sounds on trigger. Useful for notifications, drum machines and general havoc.


Edit Documentation

Full Name
  • Ops.Deprecated.WebAudio.SamplePlayer
Visibility
  • Core Op - Official cables op
License
  • MIT
Author


 

Example Patch SamplePlayer example new

Example for SamplePlayer

Open In Editor

INPUT PORTS


Audio Buffer (Object:audioBuffer)

connect the output of an AudioBuffer op here

Play Sample (Trigger)

Trigger to play sample

Stop Playback (Trigger)

Time Controls

Offset (Number)

offset the start (in ms)

Buffer Size (Number:integer )

Miscellaneous

Playback Rate (Number)

playback speed of the sample, when set to 0 no sound is heard

Detune (Number)

detune in cents, 1200 is one octave

OUTPUT PORTS


Audio Out (Object)

audio output

Is Playing (boolean Number)

indicates if a sample is currently playing or not


Patches using SamplePlayer

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarsimod - 2021-01-11 13:49
Ops.User.cables.SamplePlayer renamed to Ops.Admin.SamplePlayeruser avatarsimod - 2021-01-11 13:52
Ops.Admin.SamplePlayer renamed to Ops.WebAudio.SamplePlayeruser avatarcables - 2021-01-12 17:24
removed non-working start-time portuser avatarstephan - 2022-05-16 15:24
renameOps.WebAudio.SamplePlayer renamed to Ops.Deprecated.WebAudio.SamplePlayeruser avatarpandur - 2023-06-05 09:16