Προς το περιεχόμενο

Ηχογραφηση της εξοδου του PA


Αδμιν

Προτεινόμενες αναρτήσεις

Εχετε ιδεα πως ηχογραφουμε την εξοδο του Pulse Audio (κατα προτιμηση μεσω καποιου προγραμματος για screencast);

Λογικα ο PulseAudio καπου στελνει το stream και μπορω να το στειλω με καποιο τροπο σε ενα αρχειο. Που και πως ομως;

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

https://wiki.ubuntu.com/PulseAudio

 

 

 

Recording example using PulseAudio and Audacity

This recording is equivalent to using the 'stereo mix' source setting in Windows to record the sounds going through the computer i.e. it should be able to record anything that the computer can output to speakers/headphones. Note that recording from some sources e.g. some web-based Flash audio sources, may be illegal in some countries; it is your responsibility to ensure that you abide by all relevant laws.

 

This example worked on Hardy 8.04. For the initial configuration, the above steps were followed except that:

 

* Nothing was put into /etc/asound.conf

* libflash-mozplugin was installed as well as libflashsupport.

*

 

The three changes listed above under 'Applications -> Sound and Video -> click on PulseAudio Preferences' weren't made. (Note also that these options are now under Applications -> Sound and Video -> PulseAudio Device Chooser, which launches a panel icon 'PulseAudio Applet', and then they are under Configure Local Sound Server, but they weren't changed in any case).

 

Once Audacity, PulseAudio and a sound source e.g. Totem music player or a web-based sound source are working, take the following steps to record.

 

For Intrepid 8.10:

 

*

 

Open up 'Applications -> Sound and Video -> PulseAudio Volume Control'.

* Assuming you started with no applications playing anything, the Playback tab will be blank

* On the Output Devices tab, right click on the volume level for the sound output that you actually listen with e.g. USB audio headphones might be 'ALSA PCM on front:1 (USB Audio) via DMA'. Select Default in the little box that pops up.

* On the Input Devices tab, on the Show options at the bottom right, choose Monitors (or All). Right click on the monitor for the sound output that you listen to i.e. the monitor of the same device that you selected on the Output tab e.g. 'Monitor Source of ALSA PCM on front:1 (USB Audio) via DMA'. Select Default in the little box that pops up.

* Open up the source of the sound, e.g. Totem music player or a web page that plays audio. Once the sound starts, pause it and go back to the start if you can.

*

 

Go back to the Playback tab of the PulseAudio Volume Control. It should be showing the sound stream. If you right-click on the volume bar of the stream and hover the mouse over the 'Move Stream...' words, you can verify that the sound is pointing towards the same place you selected in Output Devices above.

*

 

Open up audacity but use the command 'padsp audacity' instead of just 'audacity'. This will make the OSS source within audacity actually come from PulseAudio. You can permanently change the command for the menu item if you wish using System -> Preferences -> Main Menu.

* Under Edit, Preferences in Audacity, in the 'Audio I/O' section, de-select the two checkboxes under Playthrough, set the recording device to 'OSS :/dev/dsp' and the channels to '2 (Stereo)'. Set the playback device to 'OSS :/dev/dsp' too. Click on Ok to close the dialog.

* Click on the record button in audacity and start the sound off again from the source. When you're done, stop the recording in audacity, remove any bits of the sound that you don't want e.g. leading and trailing blank sounds, and export as an mp3 file.

 

For Jaunty 9.04:

 

*

 

There's no longer any need to start Audacity with padsp, so remove this again from the Main Menu using System -> Preferences -> Main Menu if you had changed it in 8.10 and then upgraded to 9.04 automatically. Otherwise there should be no need to change the start-up command for Audacity.

*

 

Open up 'Applications -> Sound and Video -> PulseAudio Volume Control'.

* Open up the source of the sound, e.g. Totem music player or a web page that plays audio. Once the sound starts, pause it and go back to the start if you can.

*

 

Go back to the Playback tab of the PulseAudio Volume Control. It should be showing the sound stream. Right click, choose Move Stream and point it to the stream that you listen on e.g. 'USB Headphone set'.

*

 

Open up Audacity and select 'Edit -> Preferences'. In the 'Audio I/O' section, de-select the two checkboxes under Playthrough. Under Playback, choose Device: ALSA: pulse. Under Recording choose Device: ALSA: pulse and Channels: 2 (Stereo). Click Ok to save the changes, then close down Audacity and open it up again.

* In Audacity, click on Record, and then Pause.

* Go back to the Pulse Volume control and look for the new entry for Audacity on the Recording tab. It will probably be called 'ALSA plug-in [audacity]: ALSA capture'. Right-click on the stream, choose Move Stream and then select the Monitor for the device that you listen to e.g. 'Monitor for USB Headphone set'.

* Release the pause in Audacity and start playing the audio. When the recording has finished, press stop in Audacity and remove and superfluous sections at the start and end of the track using Audacity's editing features. Then export as an MP3 file.

 

 

http://ubuntuforums.org/showthread.php?t=1130384

 

 

http://blog.stebalien.com/2009/03/howto-ones-linux-computer-with.html

March 21, 2009

How to record one's linux computer with pulseaudio

 

I posted a simple tip to an Identi.ca user (mxc) explaining how to record a skype conversation and felt that others might find the information useful. Here is an elaborated explanation of how to record the sound from a linux computer.

 

1. Install pavucontrol and the gnome-sound-recorder (in the gnome-media package).

2. Open the gnome-sound-recorder and start recording

3. Open the pulseaudio volume control and switch to the recording tab

4. Click on the down arrow of the "gnome-sound-recorder" Record Stream, Select "Move Stream" and move the stream to the "Monitor" stream for your sound card.

 

This should record all sound from your computer if you are using pulseaudio. I have not tested this with skype but it should work.

 

καλή επιτυχία !

 

.

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...