Skip to content

Commit

Permalink
added documentation note
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremysalwen committed Jun 3, 2011
1 parent fd0dc37 commit e97162c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kn0ck0ut6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,11 @@ void AKnockout::do_rebuild(long numSampsToProcess, long fftFrameSize, long osamp

double magn = gAnaMagn[k] - gDecay[k]; // subtract right channel magnitudes from left, with decay
magn = magn * (magn>0); // zero -ve partials


//(Note by Jeremy): The phase has not been modified at all.
//This exactly undoes the transformation of the phase of the left
//channel which we did during the analysis phase.

/* correct the frequency - sm sprenger method */
double tmp = gAnaFreq[k];
tmp -= (double)k*freqPerBin;
Expand Down

0 comments on commit e97162c

Please sign in to comment.