syoyo / tinygltf

Header only C++11 tiny glTF 2.0 library
MIT License
2.01k stars 409 forks source link

[feature] Audio support #340

Open syoyo opened 2 years ago

syoyo commented 2 years ago

Describe the issue

glTF format is getting common file format for NTF and Metaverse usecase. For such usecases, embedding audio data in 3D data is important but glTF 2.0 spec itself does not support audio feature.

Audio feature is supported by extensions.

https://github.com/KhronosGroup/glTF/issues/1582

It'd be nice to implement basic features to handle audio data(e.g. decoding mp3, compute spatial audio settings) in TinyGLTF.

To Reproduce

N/A

Expected behaviour

TinyGLTF uses can easily play/interact audio data without additional C++ coding.

Screenshots

N/A

Additional context

N/A

syoyo commented 2 years ago

KHR_audio has been proposed. https://github.com/KhronosGroup/glTF/pull/2137

syoyo commented 1 year ago

Initial parsing support was done: https://github.com/syoyo/tinygltf/pull/429

TODO.