JoepVanlier / JSFX

A bundle of JSFX and scripts for reaper.
MIT License
389 stars 19 forks source link

reduce memory use depending on number of channels used #42

Closed JoepVanlier closed 2 years ago

JoepVanlier commented 2 years ago

Why this PR? The spectral analyzer uses an excessive amount of memory. A lot of it goes wasted because of inefficient use of memory (allocating all channels up front etc). This PR aims to fix some of this. Since the memory management in the plugin is quite a mess, this is a pretty messy PR which requires a lot of testing.

JoepVanlier commented 2 years ago

After pretty extensive testing, I think this is good to go. 🤞