Record YouTube with Audacity on Ubuntu 11.10

Audacity LogoSometimes I prefer to hear the live version of the music (which I thought better than the recording version) that available on YouTube. I have experienced recording from YouTube with Audacity, but using Ubuntu 7, very-very long time ago. When I tried to record again, I found some diffculties that no sound recorded to the Audacity.

The page from Audacity Team said that I need to turn my ‘Input Device’ to ‘Stereo Mix’, but there is no ‘Stereo Mix’ option in my Audacity, it’s on Windows. My list of ‘Input Device’ is:

  • HDA Intel PCH: ALC892 Analog (hw0,0)
  • default: Rear Mic:0
  • default: Front Mic:0
  • default: Line:0
  • default: Rear Mic:1
  • default: Front Mic:1
  • default: Line:1

There is nothing on the list that can record from the stream, all option is silent.

I followed the suggestion from Linuxer to configure the ALSA Mixer using command

$ alsamixer

Alsa Mixer
Then I need to activate the capture device, done. After I tried to record again but the results are:

  • HDA Intel PCH: ALC892 Analog (hw0,0)
    • Nothing Happened
  • default: Rear Mic:0
    • Nothing Happened
  • default: Front Mic:0
    • Noise from my Mic but the stream recorded a bit in the background
  • default: Line:0
    • Nothing Happened

I was getting a little mad. The thread from Ubuntu Forum suggested me to use Ardour. I went to Ubuntu Software Center and installed Ardour, but I want to give one more shot to Audacity. From the Stream Recorder Forum it was suggested to install PulseAudio Volume Control, I installed the volume control and got the ‘Input Device’ option in Audacity had more options:

  • HDA Intel PCH: ALC892 Analog (hw0,0)
  • pulse: Rear Mic:0
  • pulse: Front Mic:0
  • pulse: Line:0
  • pulse: Rear Mic:1
  • pulse: Front Mic:1
  • pulse: Line:1
  • default: Rear Mic:0
  • default: Front Mic:0
  • default: Line:0
  • default: Rear Mic:1
  • default: Front Mic:1
  • default: Line:1

Then I followed the instructions to change the ‘Output Device’ and ‘Input Device’ option in Audacity to ‘Pulse’, let the PulseAudio Volume Control open when recording the stream with Audacity. Still, nothing changed. Then I found the page from Audacity Team stated that I need to configure the PulseAudio Volume Control. There are some configurations that I did:

  1. Go to ‘Input Devices’ Tab, in the ‘Internal Audio Analog Stereo’ option, look for ‘Port’ tab
  2. There are options for ‘Front Microphone’, ‘Rear Microphone’, and ‘Line In’. set all of those volume to silence, I can let it go, but just for precautions if the microphones’ noise disturb the recording
  3. PulseAudio Volume Control 001

  4. Scroll down and there is ‘Monitor of Internal Audio Analog Stereo’, to make sure the stream can be recorded, play the stream, watch the bar below the volume adjustment, if moves then the recording process can be done
  5. PulseAudio Volume Control 002

  6. Go to ‘Recording’ Tab, there is notification that no plug-in doing the recording, don’t worry
  7. Play the stream, push the record button on the Audacity, then back to the PulseAudio Volume Control, on the ‘Recording’ tab, it can be seen that now there’s an option for Audacity recording
  8. At the ‘ALSA plug-in [audacity]: ALSA Capture from‘ option, change the ‘Internal Audio Analog Stereo’ to ‘Monitor of Internal Audio Analog Stereo’
  9. PulseAudio Volume Control 003

  10. The Audacity could record the stream by now

Happy recording!

Anton Hermansyah

Logo of Anton Hermansyah


Tags: , , , , ,

15 Responses to “Record YouTube with Audacity on Ubuntu 11.10”

  1. anthonyvenable110 Says:

    I really enjoyed this post keep em comin

  2. travis Says:

    Thanks for the post. Worked well

  3. Kyle Says:

    Would love to use your instructions…if pulseaudio GAVE me the option for “monitor of internal audio analog stereo.” It does not. I tried every possible pulseaudio input option. “Monitor of” never shows up no matter what I try with pulseaudio. Used to be able to do this with audacity. Very frustrating.

    Anyway, thank you for posting. Really…I know that some will benefit from your diligence! 😉

    • anhe51 Says:

      I’m sorry for the late response, there’s two options should be chekced:

      1. In the Audacity, make sure that the recording input come from “pulse: Line:1”
      2. In the Pulse Audio Volume Control, go to “Input Device” tab, in the “Show” option, select “All Input Devices”, the “Monitor of Internal Audio Analog Stereo” should be in the first option

      Does the “Monitor of Internal Audio Analog Stereo” showed up now?

      I’m not a programmer anyway, but I’ll tell you if I find the solver.

  4. Jean-sébastien Says:

    Very nice job! Your post saved me a lot of times! Thank you!


  5. barretruttan Says:

    I was pulling my hair out on this one. Your solution worked like a charm. Thanks!

  6. Mark Says:

    It took me a while to start recording, finding this article was just enough to solve this issue… Thanks a lot.!

  7. Matteo Says:

    Thank you very much, you gave (me) a real and good solution!

  8. mtrento Says:

    Thank you , i was struggling for hours with audio recording on ubuntu. this works well on ubuntu 12.10. Good job

  9. Says:
  10. Says:

    Whoa! This blog looks just like my old one! It’s on a completely different subject but it has pretty much the same page layout and design. Excellent choice of colors!

  11. Augustus Says:

    I’m not that much of a internet reader to be honest but your sites really nice, keep it up!
    I’ll go ahead and bookmark your website to come back down the road. All the best

  12. Says:

    Hello mates, good paragraph and pleasant arguments commented at
    this place, I am really enjoying by these.

  13. Custom tablet pc Says:

    I’m not sure why but this web site is loading extremely slow
    for me. Is anyone else having this issue or is
    it a problem on my end? I’ll check back later on and see if the problem still exists.

  14. Mr Ques Says:

    This works with 14.04 as well. Good one mate.

    It does take a bit of playing around after installing puvcontrol to make sure you have the correct match if you have quite a few audio outputs.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: