I added new p5.sound library to OpenProcessing, however it broke all the sketches that is supposed to work with it. Did some investigation and seems to fail on loadSound directly.
Here is an example:
https://openprocessing.org/sketch/2901469#
Since then, I reverted the version in the library list to the legacy one, but you can test the new library above.
You can see that the file with space in it doesn't work as expected (browsers already encode the URL on fetch requests, and p5.seems to encode it again.
With a normalized filename, preload doesn't seem to complete and setup() is never run.
I added new p5.sound library to OpenProcessing, however it broke all the sketches that is supposed to work with it. Did some investigation and seems to fail on loadSound directly.
Here is an example:
https://openprocessing.org/sketch/2901469#
Since then, I reverted the version in the library list to the legacy one, but you can test the new library above.
You can see that the file with space in it doesn't work as expected (browsers already encode the URL on fetch requests, and p5.seems to encode it again.
With a normalized filename, preload doesn't seem to complete and setup() is never run.