Thursday, March 3, 2011

RAW record audio streams playing thorugh the PC speakers

RAW record audio streams playing in browsers like Firefox, Chromium or any streaming player like Quicktime, Realplayer, Helixplayer etc.

The best way to copy the audio streams available through the PC speakers is to stream copy through Pulse in Ubuntu.

Lucid Lynx 10.04 and Maverick Meerkat 10.10

These instructions describe how to record any audio stream that are piped through to your sound system (e.g., external speakers, headphones) using Audacity. Any KDE recording software should work. For the purposes of this example, the audio (voice, music, or soundtrack) player will be Sonic Visualiser but could be any sound source (e.g., MPlayer, VLC, Firefox Flash video, MIDI device). The "PulseAudio Volume Control" program is not installed by default, but can be installed by typing the command sudo apt-get install pavucontrol from a terminal window, or using the System Settings' Software Management to install the pavucontrol package.
1. Click the K menu.
2. Click Multimedia » PulseAudio Volume Control.
3. Start Audacity.
4. Start Sonic Visualiser.
5. Open audio in Sonic Visualiser. (That is, find and prepare to play the sound that you want recorded.)
6. Click Play on Sonic Visualiser.
7. Click the Playback tab in PulseAudio Volume Control to see the Sonic Visualiser stream.
8. Click Rewind in Sonic Visualiser.
9. Switch to Audacity.
10. Click Edit » Preferences.
11. Click Devices (on the left).
12. Set Playback to pulse.
13. Set Recording to pulse.
14. Set Channels to (Stereo).
15. Click OK to close the dialog.
16. Click the Record button.
17. Switch to PulseAudio Volume Control.
18. Click the Recording tab.
19. Set Show to All Streams.
20. Set ALSA Capture from to Monitor of Internal Audio Analog Stereo.
21. Click Output Devices.
22. Ensure Port is set to Analog Output.
23. Switch to Sonic Visualiser.
24. Click the Rewind button.
25. Click Play.

The audio playing in Sonic Visualiser should be recorded in Audacity.

No comments:

Removing audio noise from a video

The basic steps are to extract the audio, remove noise, and then re-insert the noise-free audio back into the video wrapper. Step I: Ext...