P5.Panner3D usage in a 2d context possible?

Hello all, I'm working on a project where all I need in terms of graphics are simple 2d sprites with a background, I got that working. I can also load my sounds in an array with loadSound() without a problem.

Now, I was wondering if it is possible to use a Panner3D in a 2d context in such a way that in addition to the obvious left/right ear panning, I can also have a sound be heard from "above", "below", "diagonal top left", etc? The program I'm working on heavily relies on such positioning as it is aimed towards blind people.

I could not find any examples on the website, but the Panner3D is mentionned in the p5.sound.js library file. Any help on how, if at all possible, to get this to work would be greatly appreciated as I'd prefer not having to go to Web Audio API for such a task...

Tagged:

Answers

Sign In or Register to comment.