LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I record inner audio? Such as music from websites and media players? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-record-inner-audio-such-as-music-from-websites-and-media-players-822571/)

QueenZ 07-28-2010 02:33 AM

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

QueenZ 07-28-2010 02:46 AM

maybe i can use audacity? will that record inner audio? Or is there something else better?

knudfl 07-28-2010 04:45 AM

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.
..

zirias 07-28-2010 04:48 AM

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.

hoodooman 07-28-2010 05:46 AM

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.

sumeet inani 07-28-2010 06:31 AM

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.

zirias 07-28-2010 06:37 AM

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 :)

Shadow_7 07-28-2010 08:42 AM

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.

Edgardo178 06-20-2011 03:13 AM

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.


All times are GMT -5. The time now is 09:19 PM.