Hey just have a doubt
Google have posted these amazing dinosaur models to view in webar, but just how they have managed to integrate sound so perfectly with the model ?? as per my knowledge embedding sound & exporting through GLB formats in not possible and only external javascript can be used to handle sounds , but for google the sound sync is so perfect , does anyone know whats under the hood??
Pls help on how can i implement this with glb and usdz files in model-viewer or webxr.
Thanks,
Preet jain
Do you have a link to the mentioned Google project reference to inspect?
THREE is an event driven system so triggering an audio file with its internal Audio module is quite trivial and can be set to play in parralel when triggering the start of an animation for instance…
There’s also howler.js for modern general integration of audio within a project which has been solid and very performant in the past, as well as tone.js which would be more for procedural audio generation and effects but there’s nothing stopping these being chained together afaia…
The Google reference you’re referring to may likely have a custom audio api integration
Hey thanks for taking your time out and replying.
If you search t-rex on chrome you will find one option to view in AR, i assumed this would be very famous in the world of webar. However i am able to integrate audio but i want to time it perfectly specifically in IOS devices…
Any idea on how this is possible.
Thanks,
Preet Jain