[ecasound] stereo to surround converter

From: Patrick Shirkey <pshirkey@email-addr-hidden>
Date: Wed Oct 24 2012 - 08:50:45 EEST


Here's a little script to convert a stereo track to 5.1 surround sound
format. The source should have distinct left and right signals as opposed
to a mono signal copied to left and right.

save as : convert.sh
run as : sh convert.sh in.wav out.wav


ecasound -z:mixmode,sum -f:s16_le,2,48000 \
-a:1,2,3,4,5,6 -i $1 \
-a:1 -chmute:2 \
-a:2 -chmute:1 \
-a:3 -chmix:3 -efh:200 -efl:16000 -ea:70 \
-a:4 -chmix:4 -efl:200 -ea:70 \
-a:5 -chmute:1 -ea:-100 \
-a:6 -chmute:2 \
-a:5,6 -o loop,1 \
-a:7 -i loop,1 \
-a:7 -efh:200 -efl:16000 -etd:20,0,1,100,100 -ea:50 -o loop,2 \
-a:8,9 -i loop,2 \
-a:8 -chmix:5 \
-a:9 -chmix:6 -ea:-100 \
-a:1,2,3,4,8,9 -f:s16_le,6,48000 -o $2

Patrick Shirkey
Boost Hardware Ltd
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
Ecasound-list mailing list
Received on Wed Oct 24 12:15:01 2012

This archive was generated by hypermail 2.1.8 : Wed Oct 24 2012 - 12:15:02 EEST