Thanks a lot Romain – made it work using the - - syntax… Now will have to test
and tweak the buffer settings, to avoid the frequently emptying buffer during
the piping…
Best regards,
Christo
From: Romain Beauxis [mailto:to...@rastageeks.org]
Sent: Wednesday, October 5, 2016 8:46 PM
To: savonet-users <savonet-users@lists.sourceforge.net>
Subject: Re: [Savonet-users] Usage of new Pipe operator
Hi Christo,
2016-10-05 3:58 GMT-05:00 Christo Grozev <cgro...@gmail.com
<mailto:cgro...@gmail.com> >:
>
>
>
> Dear all,
>
> Does anyone have a simple example of usage of the new Pipe() operator? I am
> trying to send the audio out to command-line processing by stereotool and
> back, but cannot make pipe work. An example with any other external command
> would do as well.
This seems to be working fine:
% liquidsoap 'output.ao <http://output.ao> (fallible=true,pipe(process="sox -
-t wav - speed 3", playlist("~/Music")))'
Basically, you need to tell your processing software to operate on its standard
input and output in WAV format. If the program does not have built-in support
for stdin/out (like using - in the example above), then sometimes you can be
successful using /dev/stdin and /dev/stdout.
Hope that helps,
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users