source: python.old/bench-test @ 44721ff

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 44721ff was b554e41, checked in by Paul Brossier <piem@piem.org>, 12 years ago

moved out old python interface

  • Property mode set to 100755
File size: 332 bytes
Line 
1#! /usr/bin/python
2
3from aubio.bench.node import *
4
5datapath = '/var/www'
6respath = '/var/tmp'
7
8def my_print(input,output):
9        cmd = "%s %s %s" % ("time sleep 0.3; echo",input,output)
10        return runcommand(cmd,debug=0)
11
12act_on_results(mkdir,datapath,respath,filter='d')
13act_on_data(my_print,datapath,respath,suffix='.txt')
Note: See TracBrowser for help on using the repository browser.