On 04/01/2011 04:34 AM, Robin Gareus wrote:
> Robin Gareus wrote:
>
>> Hya,
>>
>> I've just brought jack-stdout up to scratch.
This should definitely be a part of the jack default toolset.
Not that I don't appreciate the work behind jack-stdin/out (and I
wouldn't mind having them included in the jack toolset) but these
things can also be performed using for instance mplayer and
jack_capture :
sox cdda.wav -t wav - tremolo 5 100 | mplayer -cache 26000 -ao jack -
and
jack_capture --channels 2 --port system:playback_1 --port system:playback_2 \
-ws | oggenc -R 44100 -B 16 -C 2 - -o file.ogg
This command does exactly the same:
jack_capture -c 2 -ws | oggenc -R 44100 -B 16 -C 2 - -o file.ogg
although this command is strongly preferable (no bits lost in piping):
jack_capture -c 2 -f ogg file.ogg
However, for piping jack-stdout just got options for 24 bits, while
jack_capture still only supports 16 bits. The reason why jack_capture lags
a bit behind here is probably because jack_capture used code from
jack-stdout to implement writing to stdout. :-)