GUI: sample improvements

- resample change C-4 note
- add duplicate option
This commit is contained in:
tildearrow 2022-04-12 02:15:12 -05:00
parent 3d94aef14b
commit 455cccdef0
4 changed files with 28 additions and 2 deletions

View file

@ -323,6 +323,7 @@ bool DivSample::insert(unsigned int pos, unsigned int length) {
#define RESAMPLE_END \
if (loopStart>=0) loopStart=(double)loopStart*(r/(double)rate); \
centerRate=(int)((double)centerRate*(r/(double)rate)); \
rate=r; \
samples=finalCount; \
if (depth==16) { \