P5.js sounds not working in Chrome or Firefox

I've noticed that while I can use p5.js projects that use sampled sound (like this sampling keyboard: https://ericrosenbaum.github.io/MK-1/), most p5.js projects that generate sound result in silence, or blips and crackles.

This includes the "Hello, p5.js!" video - at the point where the 'G's fall and are supposed to play music, and during the "generative drawing" part where your drawing is supposed to create sound, neither works. The 'G's are silent, and the drawing results in a glitchy beep when I first press the button, followed by silence. Likewise, this 'Organic Motion' sound demo (http://b2renger.github.io/pages_p5js/organic_motion/index.html) is completely non-functional in Chrome, and in Firefox, generates a constant broken crackling, even when all of the channels/shapes are set to 'mute.'

Is this a problem on my end, or a known issue with P5.js? I'm reluctant to start playing with this tool if even its most elementary "Hello!" demo is fundamentally broken in this way - which makes me think the issue might be on my end, but I', not sure what that could be.

Answers

Sign In or Register to comment.