Mixing two mono streams into a stereo stream --------------------------------------------
Key: LS-554 URL: http://dev.sourcefabric.org/browse/LS-554 Project: Liquidsoap Issue Type: New Feature Components: Liquidsoap Reporter: Dave Pascoe Consider this simple script that mixes two mono live audio streams into a combined mono stream. It would be nice to have a function that puts stream1 on the left stereo channel and stream2 on the right stereo channel of a combined stereo feed. #!/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) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl