q5js / q5.js

A sequel to p5.js that's optimized for interactive art!
https://q5js.org
GNU Lesser General Public License v3.0
123 stars 9 forks source link

Implement `sound.setPan` #27

Closed quinton-ashley closed 5 months ago

quinton-ashley commented 9 months ago

My goal is for q5.js to have basic sound support so users don't need to load p5.sound if they don't need to. See loudSound for the current implementation.

I think setPan would be a great addition but I couldn't yet figure out how to do it. If anyone wants to implement this let me know!

quinton-ashley commented 5 months ago

added in v2.0-beta9

it was actually quite simple to implement this with help from chatgpt lol