tim-janik / beast

Beast - Music Synthesizer and Composer
GNU Lesser General Public License v2.1
83 stars 12 forks source link

BSE: add Resampler2 function to reset state #121

Closed swesterfeld closed 4 years ago

swesterfeld commented 4 years ago

Currently, if you want to return a Resampler2 object to its initial state (all history values zero), you need to delete the instance and create a new one. This adds a reset() function to the API which has the same effect. I'm using this new API in the Ladder filter implementation.