resonance-audio / resonance-audio-web-sdk

Resonance Audio SDK for Web
https://resonance-audio.github.io/resonance-audio/
Apache License 2.0
200 stars 56 forks source link

How to download ambisonics file #27

Open iooops opened 5 years ago

iooops commented 5 years ago

Hi I saw from the documentation https://resonance-audio.github.io/resonance-audio/reference/web/ResonanceAudio that we could output ambisonics, but how could we download it?

drewbitllama commented 5 years ago

There is currently no feature in our sdk to do that but you could record the output using webaudio and save that stream to a file or find a library that will do that for you. On Sat, Mar 9, 2019 at 5:25 PM iooops notifications@github.com wrote:

Hi I saw from the documentation https://resonance-audio.github.io/resonance-audio/reference/web/ResonanceAudio that we can output ambisonics, but how could we download it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/resonance-audio/resonance-audio-web-sdk/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/AGDsNvQTQgdykCmiqHLKJEo95LRo1uZkks5vVDTQgaJpZM4bm8Jj .

iooops commented 5 years ago

When I try console.log(audioScene.ambisonicOutput.channelCount);, the output is 2.

I thought it should be 4..

So after I got the stream, how could I encode them into B format? Any documentation or reference would be helpful, thanks.

iooops commented 5 years ago

Or if there's a multichannel(ambisonics) system, can I directly play the ambisonics output having the real ambisonics effect?

Heziode commented 2 years ago

Hi, any progress on this feature?

@iooops have you find a solution / workaround to record ambisonic sounds?