From: Paul Brossier Date: Thu, 16 Mar 2006 15:51:46 +0000 (+0000) Subject: optional plotting X-Git-Tag: bzr2git~732 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9610f0a0f4ab689d8474963862ea8d7849b52de8;p=aubio.git optional plotting optional plotting --- diff --git a/python/aubiopitch b/python/aubiopitch index a6c01d52..07cdcf7c 100755 --- a/python/aubiopitch +++ b/python/aubiopitch @@ -109,6 +109,7 @@ for i in range(len(modes)): filetask = taskpitch(filename,params=params) pitch = filetask.compute_all() #print filetask.eval(pitch[i]) - filetask.plot(pitch,wplot,oplots) + if options.plot: filetask.plot(pitch,wplot,oplots) -filetask.plotplot(wplot,oplots,outplot=options.outplot) +if options.plot: + filetask.plotplot(wplot,oplots,outplot=options.outplot)