- Timestamp:
- Mar 13, 2013, 7:24:02 PM (12 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- c25d5b5
- Parents:
- 20b1aed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_tempo_plot.py
r20b1aed r3cde629 45 45 46 46 if len(bpms): 47 print 'mean period:', "%.2f" % mean(bpms), 'bpm', 'median', "%.2f" % median(bpms), 'bpm'48 print 'plotting', filename49 47 # do plotting 50 48 from numpy import array, arange, mean, median 51 49 import matplotlib.pyplot as plt 50 print 'mean period:', "%.2f" % mean(bpms), 'bpm', 'median', "%.2f" % median(bpms), 'bpm' 51 print 'plotting', filename 52 52 plt1 = plt.axes([0.1, 0.75, 0.8, 0.19]) 53 53 plt2 = plt.axes([0.1, 0.1, 0.8, 0.65], sharex = plt1)
Note: See TracChangeset
for help on using the changeset viewer.