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

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/aubio/web/html.py+2−3
@@ -170,15 +170,14 @@ def show_task(req,task): · 169 unmodified lines
170 170
171## waveform_foo171## waveform_foo
172def draw_sound(req):172def draw_sound(req):
173 #draw_func(req,"aubioplot-audio %%i stdout 2> /dev/null")173 draw_func(req,"aubioplot-audio %%i stdout 2> /dev/null")
174 draw_func(req,"gdtest %%i 2> /dev/null")
175 174
176def show_sound(req):175def show_sound(req):
177 show_task(req,"sound")176 show_task(req,"sound")
178 177
179## pitch foo178## pitch foo
180def draw_pitch(req,threshold='0.3'):179def 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)
182 181
183def show_pitch(req):182def show_pitch(req):
184 show_task(req,"pitch")183 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