Mercurial > hg > python-tutorial-ssw2012-output
view estimate_tempo.py @ 7:1ef0ce23bf78
Write tempo estimator main program
author | Chris Cannam |
---|---|
date | Mon, 08 Oct 2012 15:08:30 +0100 |
parents | |
children |
line wrap: on
line source
import tempo_estimator as est import sys filename = sys.argv[1] print "Estimating tempo of", filename tempo = est.estimate_tempo_of_file(filename) print "Tempo is", tempo