Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-28-2010, 03:33 AM   #1
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 373
Blog Entries: 2

Rep: Reputation: 32
How do I record inner audio? Such as music from websites and media players?

I need to recored inner audio not from microphone. Audio such as i hear when i open a website.. how can i record that? What software should I use?

I'm using Ubuntu 10.04

Last edited by QueenZ; 07-28-2010 at 03:36 AM.
Old 07-28-2010, 03:46 AM   #2
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 373

Original Poster
Blog Entries: 2

Rep: Reputation: 32
maybe i can use audacity? will that record inner audio? Or is there something else better?
Old 07-28-2010, 05:45 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,297

Rep: Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573
One suggestion seen here at LQ is a connection
from line out, to line in.

Then you will have better control with level settings
etc. in Audacity.
May not be so easy without that external wiring.

Alternatives to Audacity : command line SoX and
may be command line alsa.
Old 07-28-2010, 05:48 AM   #4
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
I don't think this would be wise for the unnecessary D/A and A/D conversion impairing quality.

One thing I'd try is to get the application I want to record audio from to do the output through jack and then wire it to a virtual capture port.
Old 07-28-2010, 06:46 AM   #5
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
I have previously used Audacity to record sound from web browser etc.A lot will depend on the sound card and what it is capable of.Open alsamixer and ensure "wave" is not muted and also turn up the level.In audacity see if when recording from web the led indicators (red ones) are responding to sound.Also see if you can click on the microphone icon for a drop down menu to appear.If it does you may be able to select "wave" from there.I used to be able to do this with older versions of audacity but with the current one I cannot although I can still record if the setting mentioned earlier in alsamixer are set properly.Make sure system sounds e.g email notification are turned off as this will be recorded too.Its also a good idea to mute or turn down any unwanted mixer channels as they may add unwanted noise such as hum or crackle.Its best to experiment with this till you get the best results.Take a note of the mixer settings for future use when you find the ones that work best.The mixer settings will resort back to the original settings on reboot unless you save them which you probably wont for your general use.
Old 07-28-2010, 07:31 AM   #6
sumeet inani
Registered: Oct 2008
Posts: 905
Blog Entries: 26

Rep: Reputation: 49
See post number 8(for audacity) ,12(no extra software needed just a command in terminal),22(using ffmpeg) at .
Lastly if you clear cache in your browser (makes identifying easier) then play the sound file of internet. Usually it gets saved in a folder on disk.In firefox it is ~/.mozilla/firefox/<some number>/Cache.

Tell what you did & what you got.
Old 07-28-2010, 07:37 AM   #7
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Well, just to clarify this:

There ARE soundcards supporting "capture" of their output channels. With such a soundcard, it's probably the best to just try to find the correct mixer settings to get it working.

There are unfortunately also soundcards that definitely cannot do this, and rather to wire them with some line cable, I'd try to use jackd in THAT case
Old 07-28-2010, 09:42 AM   #8
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 3,975
Blog Entries: 1

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
jackd is probably the simpler option.

Normally I go through about:cache and find the actual file in question and download it with wget. Or save as from the cache, depending on the browser. Original file, no AD DA and other nasties. Baring that...

$ aumix -q
$ aumix -v R -v 50 -w 50
(to set the capture device to the output, not input)
(for some reason I've never been able to do this with alsa directly via amixer / alsamixer or echo ... /proc/...)

$ arecord -t wav -f S16_LE -c 2 -r 48000 test.wav
(to record and manually stop it. -d <seconds> if you want to calculate it.

$ audacity test.wav
(to verify success)

$ aumix -v 84 -w 84 -m R
(to return my settings back to normal)

One drawback on this is that the volume is typically low enough that you can't hear what you're recording. But it needs to be that way to set the right recording levels. Jackd sounds like the easier option to me. Although I'm more familiar with the above for strange content that doesn't leave a /tmp/Flash* trail or other methods of recall.
Old 06-20-2011, 04:13 AM   #9
LQ Newbie
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
Smile Record inner audio

Audacity should be one of your choices to record inner audio within websites. Still, if this one can't satisfy you well, you might try to record audio from websites via other programs like streaming recorder.

It is said that only with a streaming recorder, then you can record all streaming audio playing on your computer.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Three utilities for automatically converting audio for portable music players LXer Syndicated Linux News 0 04-28-2008 06:50 PM
can't open any audio media players theonetoblame Linux - Newbie 27 06-03-2007 06:02 AM
Plugins for Audio/Media Players ??? formohan Fedora - Installation 2 06-29-2005 01:07 AM
CD Music//Media players samurai Linux - Software 2 07-04-2004 10:04 AM
my soundcard doesnt play any music in redhat 's CD or Audio players. Can you help me? midnightpenguin Linux - Hardware 9 05-05-2004 01:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration