Set the playback rate of a sound file. Will change the speed and the pitch. Values less than zero will reverse the audio buffer.
Examples
Syntax
rate([playbackRate])
Parameters
playbackRate
Number:
Set the playback rate. 1.0 is normal, .5 is half-speed, 2.0 is twice as fast. Values less than zero play backwards.
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!