Consider this simple script that mixes two mono live audio streams into a
combined mono stream.  Is there a way to put stream1 on the left channel and
stream2 on the right channel, and then send a proper stereo stream?  I can't
seem to figure this out.  If it is possible, is it only in very recent
versions of Liquidsoap?

Thanks,
Dave


#!/usr/bin/liquidsoap

set("buffering.kind", "raw")

url1 = "http://host:port/stream1";
input1 = mksafe(input.http(url1))

url2 = "http://host:port/stream2";
input2 = mksafe(input.http(url2))

s = add(normalize=true,[input1,input2])

output.icecast.mp3(host="host",port=portnumber,password="xxxxxxx",mount="newstream",bitrate=32,
stereo=false, url="http://someurl";, genre="Jazz", name="Stream Name",
description="Some description", s)
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to