Closed Basiljet closed 1 year ago
When running your sketch code with jumpFrame()
, the positionFrame()
just after the jump is as expected, i.e. the same or slightly higher than the frame jumped to. It might just sound like it is always playing from the start of the file because your j
counter is increasing very slowly, while your soundfile (I don't have access to the one you used) presumably has a sample rate of 44100, so j
needs to rise all the way to 44100 to jump one second into the file! There is some confusing naming here with Processing's (visual) frameRate which is quite different from the 'frames' of audio samples, maybe this should be clarified in the documentation...
Possible Causes / Solutions
just use jump()