Prototyping 3 Mar 2013: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
{{vimeo|14969253}}
{{vimeo|14969253}}
Bash thyself!


Using Python's [[argparse]] is great for making flexible command line tools.
Using Python's [[argparse]] is great for making flexible command line tools.


A sample pipeline with [[gstspectrum]]
A sample pipeline with [[gstspectrum]]
Final pipeline:
./gstspectrum input.wav | \
| ./selectmaxcolumn.py \
| ./sortranges.py \
| ./compact.py \
| ./editwithsox.py $1 \
| bash

Revision as of 09:56, 4 March 2013

http://vimeo.com/14969253

Bash thyself!

Using Python's argparse is great for making flexible command line tools.

A sample pipeline with gstspectrum

Final pipeline:

./gstspectrum input.wav | \
| ./selectmaxcolumn.py \
| ./sortranges.py \
| ./compact.py \
| ./editwithsox.py $1 \
| bash