From 9610f0a0f4ab689d8474963862ea8d7849b52de8 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 16 Mar 2006 15:51:46 +0000 Subject: [PATCH] optional plotting optional plotting --- python/aubiopitch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.26.2