florian-grond / SC-HOA

HOA wrapper classes for SuperCollider based on https://github.com/sekisushai/ambitools
GNU General Public License v3.0
32 stars 7 forks source link

Optimize HOASphericalHarmonics for better performance #34

Closed patrickdupuis closed 4 years ago

patrickdupuis commented 4 years ago

This PR contains a major refactoring of the HOASphericalHarmonics class. These changes allow the coefficients to be calculated at a fraction of the CPU cost.

pinging @djiamnot @nicobou

florian-grond commented 4 years ago

Great Job Patrick!

There would be a way to store the SH code in an array and request only those sections from the array that corresponds to the order selected.