diff dsp/onsets/DetectionFunction.cpp @ 120:b0e98fcfacd7 pvoc

Comments
author Chris Cannam
date Thu, 03 Oct 2013 13:03:31 +0100
parents 2020c73dc997
children 2053a308bb4d
line wrap: on
line diff
--- a/dsp/onsets/DetectionFunction.cpp	Thu Oct 03 12:58:36 2013 +0100
+++ b/dsp/onsets/DetectionFunction.cpp	Thu Oct 03 13:03:31 2013 +0100
@@ -160,6 +160,10 @@
 	break;
 	
     case DF_PHASEDEV:
+        // Using the instantaneous phases here actually provides the
+        // same results (for these calculations) as if we had used
+        // unwrapped phases, but without the possible accumulation of
+        // phase error over time
 	retVal = phaseDev( m_halfLength, m_thetaAngle);
 	break;