Changeset 14aae81 for python/aubio/task


Ignore:
Timestamp:
Jun 2, 2006, 7:23:29 PM (19 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:
af35ed0
Parents:
6b0ca87
Message:

ugly hack to plot beat track anyway
ugly hack to plot beat track anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/task/beat.py

    r6b0ca87 r14aae81  
    193193                oplots.append(Gnuplot.Data(results,with='linespoints',title="auto"))
    194194
    195         def plotplot(self,oplots,outplot=None):
     195        def plotplot(self,wplot,oplots,outplot=None,extension=None,xsize=1.,ysize=1.,spectro=False):
    196196                import Gnuplot
    197                 from aubio.gnuplot import gnuplot_init, audio_to_array, make_audio_plot
     197                from aubio.gnuplot import gnuplot_create, audio_to_array, make_audio_plot
    198198                import re
    199199                # audio data
     
    201201                #f = make_audio_plot(time,data)
    202202
    203                 g = gnuplot_init(outplot)
     203                g = gnuplot_create(outplot=outplot, extension=extension)
    204204                oplots = [Gnuplot.Data(self.gettruth(),with='linespoints',title="orig")] + oplots
    205205                g.plot(*oplots)
Note: See TracChangeset for help on using the changeset viewer.