stereo to surround converter

"Patrick Shirkey" <[email protected]>
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <[email protected]>
Hi,

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

++++
#!/bin/bash

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:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.