Move the playhead of a soundfile that is currently playing to a new position and a new duration, in seconds. If none are given, will reset the file to play entire duration from start to finish. To set the position of a soundfile that is not currently playing, use the play or loop methods.
Syntax
jump(cueTime, duration)
Parameters
cueTime
Number:
cueTime of the soundFile in seconds.
duration
Number:
duration in seconds.
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!