Changeset 3cde629


Ignore:
Timestamp:
Mar 13, 2013, 7:24:02 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
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
Message:

python/demos/demo_tempo_plot.py: import first

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_tempo_plot.py

    r20b1aed r3cde629  
    4545
    4646if len(bpms):
    47     print 'mean period:', "%.2f" % mean(bpms), 'bpm', 'median', "%.2f" % median(bpms), 'bpm'
    48     print 'plotting', filename
    4947    # do plotting
    5048    from numpy import array, arange, mean, median
    5149    import matplotlib.pyplot as plt
     50    print 'mean period:', "%.2f" % mean(bpms), 'bpm', 'median', "%.2f" % median(bpms), 'bpm'
     51    print 'plotting', filename
    5252    plt1 = plt.axes([0.1, 0.75, 0.8, 0.19])
    5353    plt2 = plt.axes([0.1, 0.1, 0.8, 0.65], sharex = plt1)
Note: See TracChangeset for help on using the changeset viewer.