computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit ee39cd8fd0d4fc257cf99b77351a8f10f626b640
parent 1f9b6274709a1a5f5788316d6c313dec10c83291
Author: Adam Malone <1319733+freddyz@users.noreply.github.com>
Date:   Tue,  6 Nov 2018 13:31:06 -0600

handle @0 input to dtpluse by returing a non trigger of length 1 ie: {0}

Diffstat:
Msrc/dtpulse.cpp | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/dtpulse.cpp b/src/dtpulse.cpp @@ -54,6 +54,9 @@ std::vector<int> parseEntireString(std::string input,std::string lookup) { else if(atVec[0].empty() && atnum == -1) { absoluteSequence.push_back(0); } + else if(atnum ==0) { + absoluteSequence.push_back(0); + } else { std::stringstream offsetstream(atVec[0]); offsetVec.resize(0);