1 & 2. I want to capture sound from ZSNES, which lets you record
key-presses and play it back almost like a movie, so for this it doesn't
matter if I can hear the sound while capturing it to a file.
3. No, I don't think it gives the user control over what sound device to
use.
I just want to do this once or twice, so I don't need a very elegant
method of doing this. Just so long as it gets the audio with decent
quality.
And about what Vik said: Can audacity do this on it own?
-Aidan
Eliot Blennerhassett wrote:
Aidan Gauland wrote:
Hello (again),
Is there a way to capture the audio output from a running program on
Linux? I've heard of "jack", but the program I want to capture the
sound from, doesn't use that. Maybe there's some ALSA plug-in I could use?
Probably.
Do you want to hear the sound at the same time, or capture to file
instead of outputting data?
What is the program you want to capture output from?
Does it allow you to specify the alsa output device to use?
For reference there are two alsa wikis:
Official http://alsa-project.org/
Unofficial http://alsa.opensrc.org/
currently the unofficial one has more info about user setups.
1) File plugin (+ tee device)
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html
http://www.volkerschatz.com/noise/alsa.htmlaplay
-Dtee:\'plughw:0,0\',/tmp/alsatee.out,raw xy.wav
2) Use loopback device
http://www.alsa-project.org/main/index.php/Matrix:Module-aloop
3) Use a sound server like jack or pulseaudio. Both have alsa input
plugins that allow an app to send audio to the server, where it can be
distributed to multiple places (recording, speakers etc)
Checking out whether the setup works I'd recommend using ALSAs aplay and
arecord applications to start with.
I won't go into more detail until I see answers to the questions above.
cheers
Eliot