Jan-Benedict Glaw wrote:
> On Sun, 2008-02-10 18:53:05 +0100, Jan-Benedict Glaw <[EMAIL PROTECTED]> 
> wrote:
>   
>> On Sun, 2008-02-10 19:54:25 +0100, Esben Stien <[EMAIL PROTECTED]> wrote:
>>     
>>> Daniel Kasak <[EMAIL PROTECTED]> writes:
>>>       
>>>> setting up pulseaudio: to copy audio streams
>>>>         
>>> Just set up pulseaudio to use jack[0] and connect a recorder.
>>>       
>> Didn't check, but isn't there a monitor source for every sink?
>>     
>
> pavucontrol works as expected with the monitor source, so does pacat:
>
>       pacat -r -d foo.monitor > recording.pcm
>
> If you don't know your sink/source name, use the "list-sources"
> command or inspect verbose output of the daemon while starting up.
>
> You need to convert it to WAV (or anything else) afterwards, which
> should be fairly simple using `sox':
>   
You can save to wav using a GStreamer pipeline:

gst-launch pulsesrc device=foo.monitor ! queue ! audioconvert ! wavenc ! 
filesink location=out.wav

or to vorbis:

gst-launch pulsesrc device=foo.monitor ! queue ! audioconvert ! 
vorbisenc ! oggmux ! filesink location=out.ogg

Jan.
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to