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.


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


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 (booleanNumber)

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
deprecationop Ops.Deprecated.WebAudio.SamplePlayer was deprecateduser avatarpandur - 2024-08-28 11:20