Play sound from native C++ API
I'm planning to synthesise sound in realtime in my naive (openXR) app and then play it. So I'll have a bunch of int16 or int24 arrays to play which will be constantly updated and then submitted to the sound API. Android native uses the khronos audio for continously playing audio. Can this also be used in a C++ program in a native application or what is the best approach? Is there C++ sample code available which plays for example a 1kHz sine-wave?1KViews0likes2CommentsAmbisonic - is it possible to multiply a custom first order SH?
So if I understand correctly, ambisonics on the Quest are encoded as first order SH and then converted to binaural audio at runtime. What I wonder is whether somehow a multiplicative first order SH can be set to alter the binaural rendering at runtime (for example to simulate acoustic occlusion or draw the user's attention in a particular direction)? If so, how?820Views0likes0Comments