benwiley4000 / volca-sampler

Send a new sound to your volca sample!

Home Page:https://volcasampler.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update trim values for sample on sample cache update

benwiley4000 opened this issue · comments

When post-plugin duration changes (before-pitch shift duration), it would be ideal to somehow trigger an update to trim frames, based on the ratio of the new to the old duration, before computing the rest of the audio. For this we might want to split the function into two, and provide a way for the SampleCache update to spit out a modified SampleContainer which the caller should save (without generating yet another SampleCache).