History

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

Paul Brossier committed 20 years ago

Commit 2d975cf1 parent 37f03521 file · +2 −3Browse files

Unified · Split

python/aubio/web/html.py+2−3
@@ -170,15 +170,14 @@ def show_task(req,task): · 169 unmodified lines
170170
171171 ## waveform_foo
172172 def draw_sound(req):
173− #draw_func(req,"aubioplot-audio %%i stdout 2> /dev/null")
174− draw_func(req,"gdtest %%i 2> /dev/null")
173+ draw_func(req,"aubioplot-audio %%i stdout 2> /dev/null")
175174
176175 def show_sound(req):
177176 show_task(req,"sound")
178177
179178 ## pitch foo
180179 def draw_pitch(req,threshold='0.3'):
181− draw_func(req,"aubiopitch -i %%i -p -m yin -t %s -O stdout -B 2048 -H 1024" % threshold)
180+ draw_func(req,"aubiopitch -i %%i -p -m yin -t %s -O stdout" % threshold)
182181
183182 def show_pitch(req):
184183 show_task(req,"pitch")

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t