Skip to content

Instantly share code, notes, and snippets.

View iMichka's full-sized avatar

Michka Popoff iMichka

View GitHub Profile
endolith /
Last active July 15, 2024 21:25
Frequency estimation methods in Python
from __future__ import division
from numpy.fft import rfft
from numpy import argmax, mean, diff, log, nonzero
from scipy.signal import blackmanharris, correlate
from time import time
import sys
import soundfile as sf
except ImportError:
from scikits.audiolab import flacread