On Sun, Dec 5, 2010 at 2:57 PM,  <kro...@aolohr.com> wrote:
>>> 1. My output now reads:
>>> output.icecast.vorbis(quality=1.4,samplerate-22050,stereo=false, . .
>>> .,source) -- I need the mono - will your audio_to_stereo(a) object to
>>> this?
>>
>> You probably need a mono output because you have mono files. If you
>> convert everything to stereo (probably just after the queue, i.e. use
>> audio_to_stereo(request.queue(...))) you'll be able to go back to
>> stereo output.
>
> Ahhh . . . I don't want to 'go back to stereo'. I need mono output, so will
> the code you've written and the output 'stereo=false' cause output problems?

Then, unless all your input files are mono, you need to convert
potential stereo files to mono. The operator meant for that is mean(),
to be used just like audio_to_stereo()... in theory. I've just noticed
a technical problem with it that prevents some uses: it doesn't accept
a variable stream content as input, which means that it can convert
mono to mono, or stereo to mono, or dolby 5 channels to mono, but not
convert to mono a stream that alternates between mono and stereo.

As an immediate workaround, you can convert everything to stereo and
then back to mono (this is silly, but is the simplest for you, until I
fix the SVN... I'll try do that soon, don't hesistate to file a bug if
you wanna push me):

sstol = mean(audio_to_stereo(request.queue(...)))
output.icecast(stereo=false,...)

Cheers,
-- 
David

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to