I posted a simple tip to an Identi.ca user (mxc) explaining how to record a skype conversation and felt that others might find the information useful. Here is an elaborated explanation of how to record the sound from a linux computer.
- Install pavucontrol and the gnome-sound-recorder (in the gnome-media package).
- Open the gnome-sound-recorder and start recording
- Open the pulseaudio volume control and switch to the recording tab
- Click on the down arrow of the "gnome-sound-recorder" Record Stream, Select "Move Stream" and move the stream to the "Monitor" stream for your sound card.
Posts
Comments
Fave
Bookmark
14 comments:
Very good tip :). I'd like to record the output of only one application at the time so I need to add a virtual output and move the stream to this virtual output. It's possible to do such a thing with checking a box in the "simultaneous output" tab of pulseaudio preferences (but I don't know how to add more virtual output and configure then if I'd like).
@Anonymous: Sorry, I am not a pulsaudio expert and could not find a way to record the output of one application (except for simply muting all other applications). You should look at the pacmd and pactl commands.
Ahhhhhh, many thanks! That was just what I was looking for!
I have recorded the output of an application using pulseaudio - first, load-module module-null-sink for the application (creates a null sink or output). You can add a number with different names using the sink_name= option. If you want to simultaneously listen to the output and record, you can load-module module-combine slaves= and list the sinks you want to connect. You can send the audio stream to the combined virtual sink and record from the null sink.
I would like to know how to record from the mic and the speaker sounds (or just an application and the mic), but not put the mic out the speakers. Is there a way to do that?
Try running:
parec | sox -t raw -r 44k -sLb 16 -c 2 - "/path/to/file.wav"
Source: http://www.outflux.net/blog/archives/2009/04/19/recording-from-pulseaudio/ (but this version is much more complex and did not work for me)
Sorry, it is confusing with two anonymous people. I was the last anonymous one, but not the one before.
I guess I should be more clear on what I am trying to do. I want to record both sound from my speakers (or more specificaly from what comes out of firefox, and also from my mic into Recordmydesktop. I can do this currently using the loopback module, but this also puts the mic out the speakers. This is ok for now, but it would be a lot nicer if I could record the sounds without putting everything out the speakers.
I would record to two separate files and mix them with audacity.
That sounds like a lot of work. I would need to record two files (which I don't know how to do), then mix them (which I don't know how to do), then add the sound to my video file and try and keep everything in sync (again I don't know how to do that).
Can't I just create a null sink, feed both the mic and the firefox out put to it, and then direct recordmydestktop to that sink?
Otherwise I will just stick to using the analog loopback, and record that. It is just a bit annoying to hear myself while I talk.
I have no idea.
I got it!!!!
This is how I did it. First I created a null-sink, name it whatever you want..I named mine steam by accident, so that is what I am using...
[quote]pactl load-module module-null-sink sink_name=steam[/quote]
Then to get sound to it just use the loop-back (which just sends an input to a sink)
[quote]pactl load-module module-null-sink sink_name=steam[/quote]
I did that twice, because I wanted two inputs.
Now go and look at volume control. First go to Recording, and select show "all streams" you should have two loopback to nulll output from. One I selected "internal audio analog stereo", and the other I selected "Monitor of internal Audio analog stereo". I had to turn the null output down from output devices, because I got a lot of noise when it was on 100%.
Now I just start RMD and monitor of null output, and I am recoding the mic and the speaker sounds and don't hear it!!!
;D
sorry, that second line should be
pactl load-module module-loopback sink=steam
in case anyone is interested, I made a video on how I did this.
http://www.youtube.com/watch?v=oJADNOY615Y
in case anyone is interested I made a video on what I did.
http://www.youtube.com/watch?v=oJADNOY615Y
Post a Comment