processing-sound-archive
processing-sound-archive copied to clipboard
jump() throws an error
The jump() method for SoundFile throws errors in situations like this:
void draw() {
float sp = map(mouseX, 100, width-100, 0, soundfile.duration());
soundfile.jump(sp);
}