Sacrifice a bit of detection accuracy for speed
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user