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

Encoding Multiple Sound Sources #16

Open
mhuzai opened this issue Nov 11, 2019 · 4 comments
Open

Encoding Multiple Sound Sources #16

mhuzai opened this issue Nov 11, 2019 · 4 comments

Comments

@mhuzai
Copy link

mhuzai commented Nov 11, 2019

AmbisonicEncoder's process() function only encodes a mono-signal. If we wanted to encode several different sound sources, how would we go about doing that?

Thanks!

@jbkempf
Copy link
Collaborator

jbkempf commented Dec 17, 2019

You mean multiple channels or multiple sources with multiple channels?

@mhuzai
Copy link
Author

mhuzai commented Dec 17, 2019

Both, actually. And also just multiple single-channel sources. For the last one, I presume we just encode them one by one and sum the fields?

@magwyz
Copy link
Contributor

magwyz commented Jan 20, 2020

For the last one, I presume we just encode them one by one and sum the fields?

Yes, I think this is the way to go.

Regarding sources with multiple channels, I would split them and process each channel as a single mono input.

@mhuzai
Copy link
Author

mhuzai commented Apr 18, 2020

I see. But once the channels have been split apart, what position would we use for each of them? I'm assuming they would all have the same position?

Another question: If I wanted to convert a song, say from YouTube, into HOA, rotate the soundfield, and then play it back, could I do it using the above process -- get song, split stereo channels, encode separately, rotate, binauralize?

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

3 participants