There is a function to pause a playing sound file.
But, how to unpause it?
Whenever I try to play it after pausing, it plays from the beginning, instead from where I paused it, contrary to reference document of pause().
I tried below commented out code.
ok I just noticed that it works on firefox but not on chrome. I think it’s something to do with the implementation of web audio api. maybe you can jump to the previous position to get around this problem https://p5js.org/reference/#/p5.SoundFile/jump