Closed tehn closed 4 years ago
yes, do check against new PR as that is the very code that is changed.
but, i don't think i changed that particular arithmetic.
so, the file load stops 1 second before the end of the file, is what you're saying?
ah, you're right. that line is wrong. should probably be:
auto maxDurDst = BufFrames - frDst;
"the maximum number of frames that the destination can accept, is equal to the number of frames in the buffer minus the starting destination frame."
seems something is not quite right with the frame counting.
if
start_dst
is say1.0
anddur
is-1
(full file) then the file load stops1.0
early.think it's something around here:
https://github.com/monome/norns/blob/master/crone/src/SoftCutClient.cpp#L263
@catfact i know you're refactoring a bunch of this so i don't want to start trying to fix it if this code is different--- i'll check your new PR
(working on softcut studies while finding this)