beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
SamplePlayer
Ops.WebAudio.SamplePlayer
Namespace: Ops.WebAudio
plays back one shot samples on trigger (useful for interaction sound)

summary (oneliner)

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

doc

issues

youtube id

collections

related ops

Inputs

Audio Buffer (Object)

connect the output of an AudioBuffer op here


Play Sample (Trigger)

Trigger to play sample


Time Controls

Start Time (Number)

where the sample should start (in ms)


Offset (Number)

offset the start (in ms)


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


Outputs

Audio Out (Object)

audio output


Is Playing (boolean Number)

indicates if a sample is currently playing or not


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
SamplePlayer example new:

Example for SamplePlayer



Credits


Changelog


created op
2021-01-11 - simod

Ops.User.cables.SamplePlayer renamed to Ops.Admin.SamplePlayer
2021-01-11 - simod

Ops.Admin.SamplePlayer renamed to Ops.WebAudio.SamplePlayer
2021-01-12 - cables

Examples using SamplePlayer

Public Patches using SamplePlayer