Showing the changes to python/aubio (1 of 1 file). Show all
Unified · Split
| @@ -170,15 +170,14 @@ def show_task(req,task): · 169 unmodified lines | |||
| 170 | 170 | ||
| 171 | ## waveform_foo | 171 | ## waveform_foo |
| 172 | def draw_sound(req): | 172 | def 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 | ||
| 176 | def show_sound(req): | 175 | def show_sound(req): |
| 177 | show_task(req,"sound") | 176 | show_task(req,"sound") |
| 178 | 177 | ||
| 179 | ## pitch foo | 178 | ## pitch foo |
| 180 | def draw_pitch(req,threshold='0.3'): | 179 | 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) |
| 182 | 181 | ||
| 183 | def show_pitch(req): | 182 | def show_pitch(req): |
| 184 | show_task(req,"pitch") | 183 | show_task(req,"pitch") |