Skip to content

Commit

Permalink
Merge pull request supercollider#136 from supercollider/topic-switch-…
Browse files Browse the repository at this point in the history
…delay-no-limit

plugins: SwitchDelay should not limit delayfactor
  • Loading branch information
telephon authored Jul 1, 2017
2 parents bb29c02 + 67518d9 commit 4913daf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/RFWUGens/RFWUGens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ void SwitchDelay_next( SwitchDelay *unit, int inNumSamples ) {
offset_timer = ENVLEN;
}

// limit the delay multiplier to reasonable numbers
if(delayfactor < 0.) delayfactor = 0.;
if(delayfactor > 0.9) delayfactor = 0.9;

for(i=0; i < inNumSamples; ++i) {
recval = in[i];
readval = buffer[readpos] + offset_current;
Expand Down

0 comments on commit 4913daf

Please sign in to comment.