[sdiy] Generate WAV files with MacSpice?

Steff steff at steff.name
Sun Feb 28 19:25:15 CET 2010


On 28 February 2010 17:21, Ingo Debus <igg.debus at t-online.de> wrote:
>
> SoundHack only reads 4 byte floats (as does Switch, which I had tried
> first). But it does read text file input which can also be generated by
> MacSpice. It's a bit complicated, I first have to load the text file into a
> spreadsheet program and pick the column that contains the data and then
> copy/paste into a text file. But it works.

Presuming you're talking about a comma-separated text file, you could
try something like this:

awk -F, '{ print $1 }' < commaseperated.csv > rawvalues.txt

The 1 in $1 represents the column you're extracting, so $2 will get
the next one and so on.

S



More information about the Synth-diy mailing list