javascript - How to I set panning in Howler JS 2.0? -


i using howler js in new project, , cannot left/right pan work. document says use pos() function, , set x value -1000 - +1000. code:

howl.pos(-1000,0,0) pan left howl.post(1000,0,0) pan right 

but not hear difference @ all. have tested in chrome, safari, , firefox.

howler js 2.0 documentation

it looks howler abstracting web audio api pannernode requires needed math create equal power panning effect. web audio api when used directly has stereopannernode want. looks howler needs update library.


Comments