LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 07-28-2010, 02:33 AM   #1
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

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


Hello,
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 02:36 AM.
 
Old 07-28-2010, 02:46 AM   #2
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
maybe i can use audacity? will that record inner audio? Or is there something else better?
 
Old 07-28-2010, 04:45 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,220

Rep: Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380
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, 04:48 AM   #4
zirias
Member
 
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, 05:46 AM   #5
hoodooman
Member
 
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, 06:31 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Rep: Reputation: 47
See post number 8(for audacity) ,12(no extra software needed just a command in terminal),22(using ffmpeg) at http://www.linuxquestions.org/questi...played-799925/ .
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, 06:37 AM   #7
zirias
Member
 
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, 08:42 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,366

Rep: Reputation: 205Reputation: 205Reputation: 205
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
^C
(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, 03:13 AM   #9
Edgardo178
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.
 
  


Reply

Tags
jackd


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 05:50 PM
can't open any audio media players theonetoblame Linux - Newbie 27 06-03-2007 05:02 AM
Plugins for Audio/Media Players ??? formohan Fedora - Installation 2 06-29-2005 12:07 AM
CD Music//Media players samurai Linux - Software 2 07-04-2004 09: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 12:29 AM


All times are GMT -5. The time now is 10:43 AM.

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