Overview

Just one little Python script that converts a comma-separated file to binary HTK format, then outputs to stdout. Done in my spare time on the weekends. I found it incredible that this does not seem to exist yet in Python. Tested on Mac OSX 10.6, using Python 2.6.5. No other requirements.

Usage:

python csv2htk.py CSV_FILE SAMPLE_PERIOD_IN_100NANOSECONDUNITS

Example:

python csv2htk.py Engelbert.PleaseReleaseMe.myawesomefeature.csv 1000 > Engelbert.PleaseReleaseMe.htk

GPL License.

Members

Manager: Matthias Mauch