Csound Csound-dev Csound-tekno Search About

Re: split a 4 chanel wav file in 4 mono files

Date1999-08-08 08:40
FromPaul Winkler
SubjectRe: split a 4 chanel wav file in 4 mono files
Pedro Kroger wrote:
> 
> Hi csounders,
> 
> Anyone know a (linux) program  to "split" a four chanel wav file in
> four  mono files?
> 
> TIA,
> 
> Pedro Kroger

Hmm... I have no quad files handy to try it, but a two-channel version
of this shell script works fine with stereo files. You need a recent
version of sox.


#!/bin/sh
sox $1 -c 1 channel1.wav pick -1 
sox $1 -c 1 channel2.wav pick -2 
sox $1 -c 1 channel3.wav pick -3
sox $1 -c 1 channel4.wav pick -4


----------------    paul winkler    ------------------
slinkP arts:  music, sound, illustration, design, etc.

zarmzarm@hotmail.com   --or-- slinkp AT ulster DOT net
http://www.ulster.net/~abigoo/