Skip to content

Instantly share code, notes, and snippets.

View PedroLopes's full-sized avatar

Pedro Lopes PedroLopes

View GitHub Profile
@PedroLopes
PedroLopes / frequency_estimator.py
Created February 23, 2016 11:07 — forked from endolith/frequency_estimator.py
Frequency estimation methods in Python
from __future__ import division
from scikits.audiolab import flacread
from numpy.fft import rfft, irfft
from numpy import argmax, sqrt, mean, diff, log
from matplotlib.mlab import find
from scipy.signal import blackmanharris, fftconvolve
from time import time
import sys
from parabolic import parabolic