An audio backend for the multi-layered soundscape of Beyond Perception: Seeing the Unseen, a permanent exhibition at Scienceworks in Melbourne, Australia.
81
stars
14
forks
source link
Improve DBAP implementation and fix some edge cases #67
This fixes some edge cases that might occur within the dbap
calculations.
If all speaker weights are 0.0, set all gains to 0.0 rather than inf
Avoid generating inf values when distance is zero by adding
implementing a blurred distance function.
DBAP now uses the squared distance as the paper suggests rather than
the actual distance. This seems to have significantly increased the
spatial effect.
Update the server to use new dbap blurred distance function.
Also abstracts the speaker weight calculation into a function and
utilised it in the the GUI active sound visualisation.
This fixes some edge cases that might occur within the dbap calculations.
DBAP now uses the squared distance as the paper suggests rather than the actual distance. This seems to have significantly increased the spatial effect.
Update the server to use new dbap blurred distance function.
Also abstracts the speaker weight calculation into a function and utilised it in the the GUI active sound visualisation.