From: Paul Brossier Date: Thu, 23 Feb 2006 02:16:06 +0000 (+0000) Subject: fix draw_sound, remove hardcoded params for draw_pitch X-Git-Tag: bzr2git~763 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d975cf349d92e2b3bee3d07cb7fc043b221312e;p=aubio.git fix draw_sound, remove hardcoded params for draw_pitch fix draw_sound, remove hardcoded params for draw_pitch --- 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")