Hi Romain, I have an issue with input.udp that only takes 'string' as input format and not 'format'. And also I tried input.external and it seems to not support the 'channels=1'??
regards -----Message d'origine----- De : Romain Beauxis [mailto:[email protected]] Envoyé : jeudi 26 janvier 2012 06:38 À : Romaric Petion Cc : [email protected] Objet : Re: [Savonet-users] output.udp and input.udp Le 25 janvier 2012 17:16, Romaric Petion <[email protected]> a écrit : > Hi guys, Hi Romaric! > I would like to use : input.udp and output.udp to receive and send > data to another software. Ok, cool! You must know that this format may loose data, thus introducing glitches in the received stream. (it was actually intentionally coded like this for artistic purposes!). > input.udp to receive data with format: raw 16bit mono 32khz > > output.udp to send data with format: raw 16bit mono 32khz > > > > Of course LS use 44,1khz samplerate and stereo > > > > How to setup the format option into commands to make it running? You need two things: - Convert the source to mono - Pass samplerate=32000 to %wav Thus this should work: output.udp(%wav(samplerate=32000, mono), mean(source), ...) For the input, you may have to convert from mono to stereo with two equal channels: audio_to_stereo(input.udp(...)) I am not so sure about the input part though so let us know if you have some trouble with it. By the way, you can also use "samplesize" with the way encoder. Romain ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
