diff --git a/Source/audio/ShapeVoice.cpp b/Source/audio/ShapeVoice.cpp index ee4e53e..c097dcb 100644 --- a/Source/audio/ShapeVoice.cpp +++ b/Source/audio/ShapeVoice.cpp @@ -43,11 +43,8 @@ void ShapeVoice::startNote(int midiNoteNumber, float velocity, juce::Synthesiser // TODO this is the slowest part of the program - any way to improve this would help! void ShapeVoice::incrementShapeDrawing() { double length = currentShape < frame.size() ? frame[currentShape]->len : 0.0; - // hard cap on how many times it can be over the length to - // prevent audio stuttering - auto increment = juce::jmin(lengthIncrement, 20 * length); - frameDrawn += increment; - shapeDrawn += increment; + frameDrawn += lengthIncrement; + shapeDrawn += lengthIncrement; // Need to skip all shapes that the lengthIncrement draws over. // This is especially an issue when there are lots of small lines being diff --git a/osci-render.jucer b/osci-render.jucer index 25df6b2..b3e97ef 100644 --- a/osci-render.jucer +++ b/osci-render.jucer @@ -5,7 +5,7 @@ pluginCharacteristicsValue="pluginProducesMidiOut,pluginWantsMidiIn" pluginManufacturer="jameshball" aaxIdentifier="sh.ball.oscirender" cppLanguageStandard="20" projectLineFeed=" " headerPath="./include" - version="2.0.0" companyName="James H Ball" companyWebsite="https://osci-render.com" + version="2.0.1" companyName="James H Ball" companyWebsite="https://osci-render.com" companyEmail="james@ball.sh">