From 2d975cf349d92e2b3bee3d07cb7fc043b221312e Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 23 Feb 2006 02:16:06 +0000 Subject: [PATCH] fix draw_sound, remove hardcoded params for draw_pitch fix draw_sound, remove hardcoded params for draw_pitch --- python/aubio/web/html.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/aubio/web/html.py b/python/aubio/web/html.py index 4b9fc5ff..4f4a6e65 100644 --- a/python/aubio/web/html.py +++ b/python/aubio/web/html.py @@ -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") -- 2.26.2