1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-09 14:43:57 +01:00
This commit is contained in:
v.audacity
2013-08-03 00:24:26 +00:00
parent d571ece7e6
commit 51e0391b7d
6 changed files with 17 additions and 2 deletions

View File

@@ -117,6 +117,10 @@ void EffectChangePitch::DeduceFrequencies()
for(j=1; j<windowSize/2; j++)
if (freqa[j] > freqa[argmax])
argmax = j;
delete [] freq;
delete [] freqa;
lag = (windowSize/2 - 1) - argmax;
m_dStartFrequency = rate / lag;
}