fix draw_sound, remove hardcoded params for draw_pitch
authorPaul Brossier <piem@altern.org>
Thu, 23 Feb 2006 02:16:06 +0000 (02:16 +0000)
committerPaul Brossier <piem@altern.org>
Thu, 23 Feb 2006 02:16:06 +0000 (02:16 +0000)
fix draw_sound, remove hardcoded params for draw_pitch

python/aubio/web/html.py

index 4b9fc5ff85dd0d29ebc8d92c162be647af1d512c..4f4a6e65f7cce1ecd7a04e6d14837e8c92cad2de 100644 (file)
@@ -170,15 +170,14 @@ def show_task(req,task):
 
 ## 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")
 
 ## 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")