SamplePlayer Op
This op is deprecated!
It will not receive any updatesPlays 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.
Full Name
- Ops.Extension.Deprecated.SamplePlayer
- Extension Op - Visible to all users
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
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
Changelog
created op | simod - 2021-01-11 13:49 | |
Ops.User.cables.SamplePlayer renamed to Ops.Admin.SamplePlayer | simod - 2021-01-11 13:52 | |
Ops.Admin.SamplePlayer renamed to Ops.WebAudio.SamplePlayer | cables - 2021-01-12 17:24 | |
removed non-working start-time port | stephan - 2022-05-16 15:24 | |
rename | Ops.WebAudio.SamplePlayer renamed to Ops.Deprecated.WebAudio.SamplePlayer | pandur - 2023-06-05 09:16 |
deprecation | op Ops.Deprecated.WebAudio.SamplePlayer was deprecated | pandur - 2024-08-28 11:20 |