-
Notifications
You must be signed in to change notification settings - Fork 435
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
Room.add_microphone_array() loses array directivity when using MicrophoneArray class #382
Comments
Thanks for catching this. You are totally right and this is a bug. |
So after checking, I recalled that the current API was designed so that you can provide the microphone array information as either
I will add a check that makes the method fail when |
Thanks for your patience. This should be now fixed in master. |
The change looks good. Thanks for handling this issue and for the great library! |
Lovely library! Here's a small bug I stumbled upon.
Room.add_microphone() method accepts arraylike or instance of MicrophoneArray for the first parameter.
When using MicrophoneArray with a defined directivity, the directivity is lost.
Steps to reproduce:
Output of the above code:
I think the bug is in (room.py) add_microphone_array where it assumes that a directivity function parameter is always supplied. IMO it would make more sense to use the directivity already contained in the MicrophoneArray object:
Version used to reproduce:
0.8.2
The text was updated successfully, but these errors were encountered: