From 526258a711b538dc5c2f49ed7292c14d29c7b913 Mon Sep 17 00:00:00 2001 From: Jeremy Salwen Date: Sun, 7 Aug 2011 05:32:46 -0400 Subject: [PATCH] Commented out unused variables from phase vocoder. --- kn0ck0ut6.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kn0ck0ut6.cpp b/kn0ck0ut6.cpp index 722e77e..070a9bc 100644 --- a/kn0ck0ut6.cpp +++ b/kn0ck0ut6.cpp @@ -266,12 +266,12 @@ void AKnockout::do_rebuild(long numSampsToProcess, long fftFrameSize, long osamp /* set up some handy variables */ long fftFrameSize2 = fftFrameSize/2; long stepSize = fftFrameSize/osamp; - float dOversampbytwopi = osamp/(PI*2); - float freqPerBin = sampleRate/fftFrameSize; + //float dOversampbytwopi = osamp/(PI*2); + //float freqPerBin = sampleRate/fftFrameSize; float dOutfactor = fftFrameSize2*osamp; fDecayRate=(fDecayRate>0)*(4.00001-(fDecayRate*fDecayRate*4)); - float expct = 2.*PI*(double)stepSize/(double)fftFrameSize; + //float expct = 2.*PI*(double)stepSize/(double)fftFrameSize; { int numpro=copiesremaining; if(numSampsToProcess