Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sounds with GLB / GLTF object #1582

Open
SparkieShock opened this issue Mar 13, 2019 · 10 comments
Open

Sounds with GLB / GLTF object #1582

SparkieShock opened this issue Mar 13, 2019 · 10 comments

Comments

@SparkieShock
Copy link

So, I've tried looking this up and there's little to no info on including sound bites with and object for GLB / GLTF. Being able to loop some MP3 snippet within an object would be handy .. especially for exporting stuff into oculus.

Where do we stand on sound for GLB objects?

@SparkieShock SparkieShock changed the title Sounds with GLB / GLTF oebject Sounds with GLB / GLTF object Mar 13, 2019
@najadojo
Copy link

We at Microsoft developed an extension MSFT_audio_emitter that we implemented for Windows Mixed Reality environment. As specified it doesn't allow MP3 but I believe we can change that at this point.

@najadojo
Copy link

Oh and Babylon.js also supports MSFT_audio_emitter.

@SparkieShock
Copy link
Author

Interesting .. but how does one use this with blender and the glb node?

@najadojo
Copy link

We built a custom tool that would add audio to a GLB. It was based on 3D Viewer but we haven't gotten it to a place where we would like to release it to the public.

@emackey
Copy link
Member

emackey commented Mar 15, 2019

how does one use this with blender

Unfortunately the Blender exporter doesn't support this (at least currently. Contributions welcome). So modifying the glTF after export is probably the only way for now.

@SparkieShock
Copy link
Author

Hmm .. well I have zero idea how to modify it so I'll just have to wait for you guys to implement sound into the Blender Exporter. Gimme a nod when it's in .. I'll be happy to test it out a lot.

@donmccurdy
Copy link
Contributor

Important to note here that MSFT_audio_emitter is a vendor extension for Microsoft tools – the core glTF specification does not support audio, and no Khronos extensions are currently available for audio. Unless that changes, I don't think this will be available in the official Blender exporter.

@britxpatusa
Copy link

any updates on this? im way over my skis with blender ...but im adding retro items to a room (arcade/pinball) so we can launch in VR and then play games...i would like to have sounds in the room (ambient) but the format export is GLB...is there no way of exporting a GLB with sound?

@orpheus
Copy link

orpheus commented Jan 16, 2022

We built a custom tool that would add audio to a GLB. It was based on 3D Viewer but we haven't gotten it to a place where we would like to release it to the public.

Hey there, could you give any direction of how one would go about building this tool themselves? I'll probably be tinkering with ways to get this working and could use any support. Else, if the tool is already now public, great!

@emackey
Copy link
Member

emackey commented Jan 17, 2022

For folks interested in audio, take a look at OMI_audio_emitter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants