On Thu, Dec 29, 2011 at 10:43 AM,  <[email protected]> wrote:
> I've used "ouput.file" to do this and this is now working well except
> for the conversion from stereo to mono: when I use "stereo=false" or
> "mono=true", my script hangs up.

By "hangs up" you probably mean that it issues a type error. This is
because you're plugging a stereo source to a mono output. You need to
use an explicit conversion here:
output.file(%mp3(mono=true),"blah",mean(source)). The reason why it is
explicit is that there is a choice: here I used a combination (mean)
of the two channels into one, but you could want to drop the right
channel and keep the left one.

Cheers,

David

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to