Hello, the problem is solved anyway, fifo works well. the problem was that I started stereotool and then liquidsoap, instead the process is the opposite.
The unique downside thing is that I lost my metadata, but this is another story. Il 05/01/2017 10:35, Christo Grozev ha scritto: > Hi Romain – just to answer your question to Simone - stereotool allows > stdin/stdout. Thus, you can pipe out to it using output.external(“wav”). > If there was a way to feed back into liquidsoap from output.external, > there would be no need for fifo’s > > > > Regards > > Christo > > > > > > *From:*Romain Beauxis [mailto:[email protected]] > *Sent:* Wednesday, January 4, 2017 7:58 PM > *To:* simone dal maso <[email protected]>; savonet-users > <[email protected]> > *Subject:* Re: [Savonet-users] liquidsoap and pipes: file of 0 bytes? > > > > Hi, > > 2017-01-03 5:30 GMT-06:00 Simone Dal Maso <[email protected] > <mailto:[email protected]>>: >> Hello, >> I decided to use Stereotool as effect processing with liquidsoap. >> My problem is that liquidsoap seems not to write to the fifo file. >> after making: >> mkfifo /tmp/audioin.pcm >> mkfifo /tmp/audioout.pcm >> >> this because liquidsoap must write to audioin, stereotool reads audioin, >> process it, write to audioout and liquidsoap must broadcast audioout. >> >> on the liquidsoap script, I put: >> >> output.file(%wav(stereo=true, channels=2, samplesize=16, header=true, >> duration=1.), >> "/tmp/audioin.pcm", >> radio >> ) >> >> the pcm file is always of 0 bytes. >> Instead if I don't use the fifo file but I give a standard filename and >> path, it produces the pcm file and stereotool can process it. >> Do you know if I'm making something wrong with the syntax? >> Or fifo file are always of 0 bytes? > > fifo are special type of pipes and can be tricky to use. Does you > program allow the use of standard input/output (stdin/stdout)? > > Romain > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
