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

Contour crossing #51

Open
chohner opened this issue Aug 26, 2016 · 0 comments
Open

Contour crossing #51

chohner opened this issue Aug 26, 2016 · 0 comments

Comments

@chohner
Copy link
Contributor

chohner commented Aug 26, 2016

The distance and angular relation between a virtual source and secondary source is constantly checked to calculate the weighting_factor = cos(angle(ls, src)) / r_src_ls for that virtual source. When the distance reaches a certain lower threshold distance safety_radius, r_src_ls is set to sqrt(safety_radius) but the cos term is still evaluated.

This means that any source that is moved between the inside and outside of the array potentially drops in volume because at some point only one speaker is active and cos(angle(ls, src)) might even reach 0.

One hack could be setting the safety_radius to half the loudspeaker distance and then avoid small weighting_factors to guarantee a smooth transition.

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

1 participant