Ignore:
Timestamp:
May 17, 2006, 11:18:56 AM (18 years ago)
Author:
Paul Brossier <piem@altern.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:
ba11e53
Parents:
7cded32
Message:

add spectrogram and x/y sizes to aubiocut
add spectrogram and x/y sizes to aubiocut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/gnuplot.py

    r7cded32 r9b138a8  
    7373        g.gnuplot('unset multiplot;')
    7474
    75 def audio_to_spec(filename,minf = 0, maxf = 0, lowthres = 0.):
     75def audio_to_spec(filename,minf = 0, maxf = 0, lowthres = -20.):
    7676        from aubioclass import fvec,cvec,pvoc,sndfile
    7777        from math import log10
     
    135135                g('set yrange [%f:%f]' % (max(10,minf),maxf))
    136136                g('set log y')
    137         g.splot(Gnuplot.GridData(data,time,freq, binary=1, title='mag. (dB)'))
     137        g.splot(Gnuplot.GridData(data,time,freq, binary=1))
    138138        #xorig += 1./todraw
    139139
Note: See TracChangeset for help on using the changeset viewer.