msub2 / silk-brush-2021

An effort to port Tilt Brush to WebXR.
Apache License 2.0
47 stars 5 forks source link

Spatial audio not working #7

Open msub2 opened 3 years ago

msub2 commented 3 years ago

Since previous spatial audio solution was relying on GoogleVR, there is currently no spatial audio for the loops/one shots that were using it before. There seems to be a dearth of spatial audio solutions for Unity WebGL, so I'll have to dig around for something that works or, god forbid, do it myself

msub2 commented 3 years ago

Might be possible to pipe the spatial audio clips to a secondary WebAudio AudioContext and do it with panner nodes? Need to look into this.

msub2 commented 3 years ago

This is possible. Will work to implement.