Prototyping 3 Mar 2013
Bash thyself!
Example
A sample pipeline with gstspectrum
Final pipeline:
./gstspectrum input.wav | \ | ./selectmaxcolumn.py \ | ./sortranges.py \ | ./compact.py \ | ./editwithsox.py $1 \ | bash
Bash
Useful things:
- BASH counting loops
- BASH math substitution
- sprintf for filenames
Error in widget Vimeo: unable to write file /data/www/wdka.nl/pzwiki.wdka.nl/mw-mediadesign/extensions/Widgets/compiled_templates/wrt673c47e9306fc2_74433722
Extra
Using Python's argparse is great for making flexible command line tools.