rcrath / wavetabler

Create wavetables for Serum, VItal, etc from any short wav file
GNU General Public License v3.0
2 stars 1 forks source link

change autocorrelation segmentation method #13

Closed rcrath closed 2 weeks ago

rcrath commented 3 weeks ago

Purpose: create accurate segments from autocorrelation method.

Currently: measure intervals and fiddle with phase. Not accurate.

New way: calculate interval and find previous zero crossing and add the interval to that.

Issue: the end of the interval might not always land on a zero (though I think technically it should), which could create clicks. Maybe need to find the nearest neighboring zero crossing to mark the edge. Thanks, @ruohoruotsi. Part of #11