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

Omni, figure eight, and other arbitrary polar patterns? #15

Open
waveflip opened this issue Aug 30, 2023 · 1 comment
Open

Omni, figure eight, and other arbitrary polar patterns? #15

waveflip opened this issue Aug 30, 2023 · 1 comment

Comments

@waveflip
Copy link

waveflip commented Aug 30, 2023

Hello,

Thanks for the very useful library!

When setting a vmicPattern, there are only 4 string options: cardioid, supercardioid, hypercardioid, and max_rE. How can I set other patterns such as omni, figure eight, and subcardioid (or some arbitrary pattern in between?). Is this possible? I'm primarily interested in FOA.

I see in ambi-virtualMic.js that this.vmicCoeffs is being set in a switch statement when updatePattern is called. But I am not sure where these coeffs are coming from and if it is possible to generalize the behavior.

@waveflip waveflip changed the title Omni, figure eight, ad other arbitrary polar patterns? Omni, figure eight, and other arbitrary polar patterns? Aug 30, 2023
@PyrApple
Copy link
Collaborator

PyrApple commented Sep 4, 2023

As things stand, you'd have to add your own compute gain method to the ambi-virtualMic.js file. It'd indeed make sense to integrate custom pattern definition in the API.

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

2 participants