Fix tone-detection bug
This commit is contained in:
1 parent
2e14767e77
commit
ecd6b6efdb
1 file changed
+1
-1
@@ -194,7 +194,7 @@ namespace Vocaluxe.Lib.Sound.Record
|
||||
accumDist += dist;
|
||||
}
|
||||
|
||||
return 1.0 - (double)accumDist / Int16.MaxValue / _AnalysisBufLen;
|
||||
return 1.0 - (double)accumDist / Int16.MaxValue / sampleIndex;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
||||
Reference in new issue
Block a user