Thread Tools Display Modes
  #1   Report Post  
Posted to,,alt.comp.freeware,
Arlen Holder Arlen   Holder is offline
external usenet poster
Posts: 15
Default Tutorial using Audacity 2.4.2 to record Windows web browser streaming audio to MP3

Tutorial using Audacity 2.4.2 to record web browser streaming audio to MP3

As always, please improve so all benefit from every action.
Note: Use whatever filespecs you prefer - below are simply filespecs I used.

Note: Tested only on Windows 10 version 2004 (OS Build 19041.572).
o My computer has no microphone but has realtek drivers for "stereo mix".

1. Download & install Audacity 2.4.2 to your Windows 10 computer:
Save to X:\archive\editor\audio\audacity\
Size: 11713880 bytes (11 MiB)
SHA256: 0C14F7C6850C93B9DACC14FE66876B8DC3397D92DBD8498987 83A21BAD1FFF55
Extract to c:\app\editor\audio\audacity\.
Name: audacity.exe
Size: 12676096 bytes (12 MiB)
SHA256: 02239A8C897496BA9F03AC967AF2CA5A03221BE83D8E733909 7EDBFFC2B96E37
Compare hash with that on the web site:
Create a Taskbar-toolbar menu shortcut:
FILESPEC c:\menu\editor\audio\audacity.lnk
TARGET C:\app\editor\audio\audacity\audacity.exe
STARTIN %appdata%\0 (which doesn't exist)
COMMENT Audacity
Test the taskbar toolbar menu:
Taskbar menu editor audio audacity
(That should bring up Audacity.)

2. Check that "microphone" access to your apps and desktop apps is set correctly:
Win+R ms-settingsrivacy-microphone
Allow apps to access your microphone = On
Allow desktop apps to access your microphone = On
Note: Make sure Audacity is in the list below that second setting above.
Note: I don't even have a microphone; but you need to have this access.
Otherwise you may get this Audacity error (which I got myself):
Error opening recording device.
Error code: -9999 Unanticipated host error.

Note: Some articles claim Microsoft recently added this "feature", and
at the same time Microsoft set the default to "Off"; so check it yourself.

3. Check your current audio driver version:
Win+R devmgmt.msc
Sound video & game controllers (find your audio driver)
Mine is pretty common: "Realtek High Definition Audio"
Doubleclick it and select the "Driver" tab & note the version.
Mine was Driver Version 6.0.8978.1, dated 6/23/2020 but yours may differ.

Note: You may have to use either a newer or older audio driver in order
to find one that allows "Stereo Mix", which is defined as follows:
"Stereo Mix allows you to record exactly what was being output to your
speakers, without going through any analog/digital conversion."

Bearing in mind some Windows audio drivers have removed this feature, see also:
Tutorial: How to update a driver that Windows just doesn't want to update!topic/

4. Enable "Stereo Mix" in that Windows 10 audio driver:
Win+R mmsys.cpl Recording (right click in blank space)
Choose "Show Disabled Devices" if necessary.
Enable "Stereo Mix" if not already enabled.

Note: If "Stereo Mix" is not an option, you may need newer or older drivers.

See also:
Tutorial: How to update a driver that Windows just doesn't want to update!topic/

See also:
How to Record the Sound Coming From Your PC (Even Without Stereo Mix)

Note: This article says some onboard sounds cards don't have "Stereo Mix" support.
If anyone knows a command to _test_ that to be the case, please post that test here!
Note: That article claims "WASAPI" may replace the lack of "Stereo Mix" in those cases.
o MME === Microsoft Multimedia Environment
o WASAPI === Windows Audio Session API
o WDM === Windows Driver Model
o ASIO === Audio Streaming Input / Output
o DirectSound === Direct Sound

If you can't get "Stereo Mix" to work on your PC, see also the "Jack" freeware workaround:

5. Set Audacity 2.4.2 preferences to use "Stereo Mix"
Taskbar menu editor audio audacity
Audacity:Edit Preferences Devices Recording == Stereo Mix

Note: Other options may vary depending on your specific system.
Mine we
Host: [MME]
Recording: [Stereo Mix (Realtek High Definiti...)]
Channels: [2 (Stereo)]

6. You may need a physical 1/8th-inch male plug in your green line-out:

Note: Some motherboards may not have an onboard line out jack; mine does.
Note: In my case, the other end of that connection can go nowhere
(i.e., all I need is a physical plug and nothing else in that jack,
although it's more usable if the other end goes to headphones or to
powered speakers so that I can hear the results at the same times as
I record them).

7. Stream audio, capture it, and save it to an MP3 file.
All you need is for audio to be streaming through your browser.
How or what you stream doesn't matter, where these are simply options. == I suggest this as it requires no login

Other choices for test music might be, for example:
Based on this one review:
The 8 Best Free Online Music Streaming Services With No Limitations

To begin recording the streaming audio that is currently playing:
Audacity:Transport Recording Record
Note: If you don't immediately see blue waveforms corresponding to the
audio that you can hear, then there's likely a problem with setup.

To pause recording:
Audacity:Transport Recording Pause

To save that recording:
Audacity:File Export Export as MP3 fname.mp3

Note: Audacity no longer needs you to download LAME or FFMPEG separately.
(The conversion to MP3 is already part of the latest Audacity download.)

Note you can stream using YouTube but if you want YouTube audio,
it's likely far better to simply use the youtube-dl.exe Windows binary,
although it's a bit of a pita to set up properly, IMHO:
For example, to save a YouTube audio as an M4A file, you run:
youtube-dl.exe -f 140

See also:
Tutorial for how to watch any Youtube video without ever seeing an advertisement!topic/alt.comp.freeware/HPpxopbOrUY

8. Test the resulting MP3 recording:

Doubleclick on the MP3 file you created to play it.
If you need an audio player, lots of people on Windows use VLC or MPC-BE.


As always, please improve as this was tested only once on only one system.
Particularly test this on newer Windows versions & with other audio hardware.
Specifically, my RealTek drivers are reported by Dumo freeware as:
o Realtek High Definition Audio Realtek 6.0.8978.1, available 6.0.9018.1
o Realtek PCIe GbE Family Controller, Realtek 10.43.723.2020, available 10.45.928.2020
o Realtek USB 2.0 Card Reader, Realtek, 10.0.19041.31262, available 10.0.19041.31263

As shown in this Dumo freeware screenshot taken just now:

See also:
o Typical first pass tutorial process on Windows 10 where NONE of the extent how to articles actually tell you what you really need to do!!topic/
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
audicity to record streaming audio Dave Tech 15 May 4th 09 11:53 PM
WMF Windows security flaw - change your browser Pooh Bear Pro Audio 65 January 6th 06 11:24 PM
Record Streaming Audio [email protected] Tech 2 December 3rd 05 10:47 PM
Record streaming audio wma at what bit rate? Louise General 1 March 31st 05 03:54 PM
Unable to record streaming audio Bob Jones Tech 12 August 22nd 04 03:51 AM

All times are GMT +1. The time now is 09:17 AM.

Powered by: vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024
The comments are property of their posters.

About Us

"It's about Audio and hi-fi"