shithub: aubio

Download patch

ref: 2d975cf349d92e2b3bee3d07cb7fc043b221312e
parent: 37f0352efc6098d49213d0405aa0270b6d5de330
author: Paul Brossier <piem@altern.org>
date: Wed Feb 22 21:16:06 EST 2006

fix draw_sound, remove hardcoded params for draw_pitch
fix draw_sound, remove hardcoded params for draw_pitch


--- a/python/aubio/web/html.py
+++ b/python/aubio/web/html.py
@@ -170,8 +170,7 @@
 
 ## waveform_foo
 def draw_sound(req):
-    #draw_func(req,"aubioplot-audio %%i stdout 2> /dev/null")
-    draw_func(req,"gdtest %%i 2> /dev/null")
+    draw_func(req,"aubioplot-audio %%i stdout 2> /dev/null")
 
 def show_sound(req):
     show_task(req,"sound")
@@ -178,7 +177,7 @@
 
 ## pitch foo
 def draw_pitch(req,threshold='0.3'):
-    draw_func(req,"aubiopitch -i %%i -p -m yin -t %s -O stdout -B 2048 -H 1024" % threshold)
+    draw_func(req,"aubiopitch -i %%i -p -m yin -t %s -O stdout" % threshold)
 
 def show_pitch(req):
     show_task(req,"pitch")