LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2007, 02:23 PM   #1
drauk
Member
 
Registered: Sep 2007
Location: /MX/BC/TJ
Distribution: Slackware 13
Posts: 37

Rep: Reputation: 15
Recording from PCM


Hi all
someone know how to record [if is possible] directly from PCM??
my sound card is NVidia nforce.
i tried to change from mic to pcm in alsamixer and in kmix but PCM doesn't appaer in the "record device"
I read in one page that i can record directly from pcm output if my sound card support it, and i'm sure it does [windows experience]

Thanks.
 
Old 09-25-2007, 03:36 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by drauk View Post
I read in one page that i can record directly from pcm output if my sound card support it, and i'm sure it does
You can record from pcm as long as alsa can play to your soundcard.

To get all PCM devices, use
Code:
arecord -L
Then, just record from them like so:
Code:
arecord -D default -f cd -t wav output.wav
(replace default with your device)

You can also make pseudodevices using the .asoundrc file. For example (taken from the arecord manpage):
Code:
pcm.copy {
	type plug
	slave {
		pcm hw
	}
	route_policy copy
}
Allows you to do
Code:
arecord -f cd -t wav -D copy foobar.wav
Of course .asoundrc is much more powerful than that. It allows all sorts of magic you might never have previously expected (for example, making a virtual four-channel device from two soundcards).

Of course there are other alsa-based recorders (more graphically pleasing than arecord). As an example, audacity uses the same alsa devices.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
no PCM device csfalcon Linux - Hardware 1 02-25-2007 03:53 PM
Recording PCM audio - SUSE 10 tanke Linux - Newbie 1 01-19-2006 02:19 AM
No Pcm Sound Out ericfurn Mandriva 6 12-22-2004 03:26 PM
PCM anyone? (alsa) dhbiker Slackware 9 04-21-2004 06:52 AM
No PCM through ALSA wuck Linux - Software 1 11-07-2003 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration