Mercurial > hg > python-tutorial-ssw2012-output
view test_tempo_estimator.py @ 10:7fc62809da94
Test and implement framer
author | Chris Cannam |
---|---|
date | Mon, 08 Oct 2012 15:34:50 +0100 |
parents | 99038dfea9e5 |
children | cb43d088e369 |
line wrap: on
line source
import tempo_estimator as est def test_tempo_120bpm(): tempo = est.estimate_tempo_of_file('testfiles/120bpm.wav') assert abs(tempo - 120.0) < 0.5