projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
845f2d4
)
optional plotting
author
Paul Brossier
<piem@altern.org>
Thu, 16 Mar 2006 15:51:46 +0000
(15:51 +0000)
committer
Paul Brossier
<piem@altern.org>
Thu, 16 Mar 2006 15:51:46 +0000
(15:51 +0000)
optional plotting
python/aubiopitch
patch
|
blob
|
history
diff --git
a/python/aubiopitch
b/python/aubiopitch
index a6c01d5259455657a8887c94c9daface8df1d55f..07cdcf7cca97bb59940882f83ca350f031ef008c 100755
(executable)
--- 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)