feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 1cc007c was
4cc9fe5,
checked in by Paul Brossier <piem@altern.org>, 19 years ago
|
added bench tools
|
-
Property mode set to
100755
|
File size:
332 bytes
|
Line | |
---|
1 | #! /usr/bin/python |
---|
2 | |
---|
3 | from aubio.bench.node import * |
---|
4 | |
---|
5 | datapath = '/var/www' |
---|
6 | respath = '/var/tmp' |
---|
7 | |
---|
8 | def my_print(input,output): |
---|
9 | cmd = "%s %s %s" % ("time sleep 0.3; echo",input,output) |
---|
10 | return runcommand(cmd,debug=0) |
---|
11 | |
---|
12 | act_on_results(mkdir,datapath,respath,filter='d') |
---|
13 | act_on_data(my_print,datapath,respath,suffix='.txt') |
---|
Note: See
TracBrowser
for help on using the repository browser.