computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit 7e948f3e6b3f87d5227a80a5e0ecb40bfc7a7245
parent be09745208ad9dd470604acea989a8b18eb09ae4
Author: Adam M <aemalone@gmail.com>
Date:   Sat,  6 Feb 2021 16:52:09 -0600

customblank: Add a few more multiples of numFrames to the scan frame to overload so it doesnt try to access a negative frame.  Will fail at -100v or lower

Diffstat:
Msrc/ComputerscareBlank.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ComputerscareBlank.cpp b/src/ComputerscareBlank.cpp @@ -586,7 +586,7 @@ struct ComputerscareBlank : ComputerscareMenuParamModule { if (numFrames && ready && frameNum != currentFrame) { sampleCounter = 0; currentFrame = frameNum; - mappedFrame = (currentFrame + mapBlankFrameOffset(zeroOffset, numFrames) + numFrames) % numFrames; + mappedFrame = (currentFrame + mapBlankFrameOffset(zeroOffset, numFrames) + 10 * numFrames) % numFrames; if (params[ANIMATION_MODE].getValue() == 3) { mappedFrame = shuffledFrames[mappedFrame]; }