spkit.TWM_algo

spkit.TWM_algo(pfreq, pmag, f0c, verbose=0)

Two-way mismatch algorithm for f0 detection

Two-way mismatch algorithm for f0 detection

Parameters:
pfreq: peak frequencies
pmagmagnitudes of peak frequnecies
f0cfrequencies of f0 candidates
Returns:
f0: fundamental frequency detected
f0Error: corresponding two-way mismatch error

References

Ref: by Beauchamp&Maher - https://github.com/MTG/sms-tools