Ignore:
Timestamp:
Oct 27, 2013, 12:44:29 PM (10 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:
8247249
Parents:
dd15573 (diff), 7fc5ba2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'develop' of aubio.org:/git/aubio/aubio into wavetable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_waveform_plot.py

    rdd15573 rdc467b5d  
    55from numpy import zeros, hstack
    66
    7 def get_waveform_plot(filename, samplerate = 0, block_size = 4096, ax = None):
     7def get_waveform_plot(filename, samplerate = 0, block_size = 4096, ax = None, downsample = 2**4):
    88    import matplotlib.pyplot as plt
    99    if not ax:
     
    1313
    1414    allsamples_max = zeros(0,)
    15     downsample = 2**4  # to plot n samples / hop_s
     15    downsample = downsample  # to plot n samples / hop_s
    1616
    1717    a = source(filename, samplerate, hop_s)            # source file
Note: See TracChangeset for help on using the changeset viewer.