Reference+
Name
jump()
Class
SoundFile
Description
Jump to a specific position in the soundfile while continuing to play (or starting to play if it wasn't playing already).
Examples
import processing.sound.*; SoundFile file; void setup() { size(640, 360); background(255); // Load a soundfile from the /data folder of the sketch and play it back file = new SoundFile(this, "sample.mp3"); file.jump(3.5); } void draw() { }
Syntax
soundfile.jump(time)
Parameters
time
(float)
position to jump to, in seconds.
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.