Using audacity to record streaming audio?

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
tsreyb
Level 1
Level 1
Posts: 2
Joined: Fri Jun 06, 2014 10:34 am

Using audacity to record streaming audio?

Post by tsreyb » Fri Jun 06, 2014 11:51 am

I used to use audacity in Windows to record streaming audio - it was actually just an analog recording of what is sent to the speakers, but it was more than good enough for me. Audacity used as its input device the windows WASAPI interface.

In mint I'm playing the audio stream with banshee. I've got audacity running, but when I record I get nothing for all input choices - except for a mic input device, which is very low quality and records room sounds as well). I tried all possible input devices known to audacity on this system:

HDA Intel MID: ALC887 Analog (hw:0,0)
HDA Intel MID: ALC887 Alt Analog (hw:0,2): Front Mic:0
HDA Intel MID: ALC887 Alt Analog (hw:0,2): Rear Mic:0
HDA Intel MID: ALC887 Alt Analog (hw:0,2): Line:0
HDA Intel MID: ALC887 Alt Analog (hw:0,2): Front Mic:1
HDA Intel MID: ALC887 Alt Analog (hw:0,2): Rear Mic:1
HDA Intel MID: ALC887 Alt Analog (hw:0,2): Line:1
IVTV-0: Hauppauge WinTV PVR-150 (hw:2,0): Front Mic:0
IVTV-0: Hauppauge WinTV PVR-150 (hw:2,0): Rear Mic:0
IVTV-0: Hauppauge WinTV PVR-150 (hw:2,0): Line:0
IVTV-0: Hauppauge WinTV PVR-150 (hw:2,0): Front Mic:1
IVTV-0: Hauppauge WinTV PVR-150 (hw:2,0): Rear Mic:1
IVTV-0: Hauppauge WinTV PVR-150 (hw:2,0): Line:1
sysdefault: Front Mic:0
sysdefault: Rear Mic:0
sysdefault: Line:0
sysdefault: Front Mic:1
sysdefault: Rear Mic:1
sysdefault: Line:1
pulse: Front Mic:0
pulse: Rear Mic:0
pulse: Line:0
pulse: Front Mic:1
pulse: Rear Mic:1
pulse: Line:1
default: Front Mic:0
default: Rear Mic:0
default: Line:0
default: Front Mic:1
default: Rear Mic:1
default: Line:1



.. all of them record nothing but silence (other than "sysdefault: Front Mic:0", as I described previously)



has anybody had success recording a stream with audacity (or any other tool)?

User avatar
Ginsu543
Level 4
Level 4
Posts: 450
Joined: Thu Nov 24, 2011 3:15 am
Location: Los Angeles, CA, USA

Re: Using audacity to record streaming audio?

Post by Ginsu543 » Sat Jun 07, 2014 1:19 am

Try this:

1) Open Terminal and install PulseAudio Volume Control by issuing the following command:

Code: Select all

sudo apt-get install pavucontrol
2) Launch the PulseAudio Volume Control program by typing "pavucontrol" (without quotes) in Terminal and hitting ENTER.

3) In PulseAudio Volume Control, click on the "Input Devices" tab

4) Make sure to mute all unwanted sources of sound input

5) Click on the "Show" radio button and change the setting from "All Except Monitors" to "Monitors"

6) Play the music file in Banshee, and make sure one of the Monitors in Volume Control (in my case, it was called "Monitor of Built-in Audio Analog Stereo") is picking up the sound

7) For the Monitor that is picking up your sound, click on the green check button to "Set as fallback"

8 ) Launch Audacity and record

That allowed me to record music coming out of my computer speakers in Audacity without it sounding tinny and low (like a cheap mic).
Main: Intel Core i7 920 D0 @ 4.0 GHz | Asus P6X58D Premium | 12 GB Mushkin Redline PC3-12800 7-8-7-24 | EVGA GeForce GTX 560 Ti | Mint 17.2 Cinnamon 64 / OS X 10.7.3
Portables: Toshiba Portege R200 | Mint 17.2 Cinnamon 32 / Dell Mini 9 | OS X 10.6.7

tsreyb
Level 1
Level 1
Posts: 2
Joined: Fri Jun 06, 2014 10:34 am

Re: Using audacity to record streaming audio?

Post by tsreyb » Mon Jun 09, 2014 8:13 pm

Worked like a charm! Thanks for the detailed instructions.

User avatar
Ginsu543
Level 4
Level 4
Posts: 450
Joined: Thu Nov 24, 2011 3:15 am
Location: Los Angeles, CA, USA

Re: Using audacity to record streaming audio?

Post by Ginsu543 » Mon Jun 09, 2014 8:48 pm

Cool deal!
Main: Intel Core i7 920 D0 @ 4.0 GHz | Asus P6X58D Premium | 12 GB Mushkin Redline PC3-12800 7-8-7-24 | EVGA GeForce GTX 560 Ti | Mint 17.2 Cinnamon 64 / OS X 10.7.3
Portables: Toshiba Portege R200 | Mint 17.2 Cinnamon 32 / Dell Mini 9 | OS X 10.6.7

kf6eml
Level 1
Level 1
Posts: 4
Joined: Fri Jun 17, 2011 11:41 pm

Re: Using audacity to record streaming audio?

Post by kf6eml » Fri Jul 04, 2014 11:44 am

Works like a charm!

Thanks very much

Baldlygo
Level 2
Level 2
Posts: 81
Joined: Wed Feb 16, 2011 6:28 am
Location: Le Dorat, France
Contact:

Re: Using audacity to record streaming audio?

Post by Baldlygo » Wed Jul 23, 2014 5:50 am

Worked for me too - many thanks
Dell Inspiron R15 - Mint 17.3 Rosa

adfd1
Level 4
Level 4
Posts: 224
Joined: Sat Apr 05, 2014 10:14 pm

Re: Using audacity to record streaming audio?

Post by adfd1 » Wed Jul 23, 2014 11:30 am

Newbie? Does an external mic have to be plugged into the PC? I have a Vostro 220 w/o a mic and would like to try to record sound from a U-tube video. How would I do that if its even possible. Mods if a new thread is required please let me know. Thanks -AD

User avatar
Ginsu543
Level 4
Level 4
Posts: 450
Joined: Thu Nov 24, 2011 3:15 am
Location: Los Angeles, CA, USA

Re: Using audacity to record streaming audio?

Post by Ginsu543 » Fri Jul 25, 2014 12:50 am

No, you don't need a mic at all. The point of the above instructions was to record sound directly from your computer sound output using Audacity. So, if you can hear the audio through your computer speakers (or plug-in earphones), you should be able to record it.
Main: Intel Core i7 920 D0 @ 4.0 GHz | Asus P6X58D Premium | 12 GB Mushkin Redline PC3-12800 7-8-7-24 | EVGA GeForce GTX 560 Ti | Mint 17.2 Cinnamon 64 / OS X 10.7.3
Portables: Toshiba Portege R200 | Mint 17.2 Cinnamon 32 / Dell Mini 9 | OS X 10.6.7

adfd1
Level 4
Level 4
Posts: 224
Joined: Sat Apr 05, 2014 10:14 pm

Re: Using audacity to record streaming audio?

Post by adfd1 » Fri Jul 25, 2014 6:05 am

Ginsu543 wrote:No, you don't need a mic at all. The point of the above instructions was to record sound directly from your computer sound output using Audacity. So, if you can hear the audio through your computer speakers (or plug-in earphones), you should be able to record it.
Thank you! -AD

adfd1
Level 4
Level 4
Posts: 224
Joined: Sat Apr 05, 2014 10:14 pm

Re: Using audacity to record streaming audio?

Post by adfd1 » Sat Jul 26, 2014 5:06 pm

It worked like a charm. Thnks -AD

ajgreeny
Level 4
Level 4
Posts: 313
Joined: Mon Nov 19, 2007 3:27 pm

Re: Using audacity to record streaming audio?

Post by ajgreeny » Sat Jul 26, 2014 5:28 pm

You might also like to have a look at audio-recorder, available in a ppa for ubuntu, https://launchpad.net/~osmoma/+archive/ ... o-recorder, but I assume also for other distros.

It is much simpler and smaller than audacity, which I also use a lot, but for basic recording of audio-streaming it is brilliant, with a single click to move from Built-in analogue stereo (Microphone) to Built-in analogue stereo (audio output)

louischristopher
Level 1
Level 1
Posts: 1
Joined: Sun Feb 04, 2018 9:26 pm

Re: Using audacity to record streaming audio?

Post by louischristopher » Sun Feb 04, 2018 9:30 pm

Thanks for sharing such useful way to record streaming audio. As for me, I have used and would like to use TuneFab Screen Recorder to record streaming audio. Maybe you can have a try!

User avatar
Termy
Level 5
Level 5
Posts: 743
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Using audacity to record streaming audio?

Post by Termy » Wed Feb 07, 2018 12:47 pm

Yes. I sometimes use Audacity for my YouTube videos. I have the computer's internal input, and then I have my exterminal Behringer mixer into which a condensor microphone is plugged. I've yet to have any issues. The times I've stumbled, are when I've not set up the audio properly, on the OS side.
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

Post Reply

Return to “Sound, Multimedia, & Codecs”