View Single Post
Old 09-19-2017, 11:40 PM   #3
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 2,964
Default

Quote:
Originally Posted by Bobflip View Post
Code:
     for (int s = 0; s < nFrames; ++s, ++in1, ++in2, ++out1, ++out2)
     {
          ...
          double inSquared = in1[s] * in1[s];
This can't be right, because you are incrementing both s and in1 in your for statement.
__________________
Martinic Scanner Vibrato - Elka Panther - Tale's JSFX Pack - WDL.git
Tale is offline   Reply With Quote