Sacrifice a bit of detection accuracy for speed

This commit is contained in:
Flamefire committed 2014-05-10 18:33:43 +02:00
1 parent c070f8d078
commit ae2672247c
1 file changed
+3 -3
@@ -4,8 +4,8 @@ using System.Runtime.InteropServices;
namespace Vocaluxe.Lib.Sound.Record.PitchTracker namespace Vocaluxe.Lib.Sound.Record.PitchTracker
{ {
/// <summary> /// <summary>
/// Pitchtracker (Pt) that uses autocorrelation (AKF) and AMDF /// Pitchtracker (Pt) that uses autocorrelation (AKF) and AMDF
/// Quite fast and perfect in artificial tests, but may fail in real world scenarios (e.g. missing fundamental) /// Quite fast and perfect in artificial tests, but may fail in real world scenarios (e.g. missing fundamental)
/// </summary> /// </summary>
class CPtAKF : CPitchTracker class CPtAKF : CPitchTracker
{ {
@@ -34,7 +34,7 @@ namespace Vocaluxe.Lib.Sound.Record.PitchTracker
private IntPtr _Instance; private IntPtr _Instance;
public CPtAKF(uint step = 400) public CPtAKF(uint step = 1024)
{ {
_Instance = PtAKF_Create(step); _Instance = PtAKF_Create(step);
} }