LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2004, 08:43 PM   #1
krock923
Member
 
Registered: Jul 2004
Posts: 171

Rep: Reputation: 30
How to record sound on RedHat 9?


Hello, I want to use the microphone on my computer but have no idea how to get started. I see people talking about all these weird things you need. Can someone just explain to me, and assume that i currently have none of the required tools although i really don't know what is required, how to get the sound from my mic to my computer. Hoefully, there's software out there without that ridiculous one minute thing in windows sound recorder. This is really important that I find out how to do this as I am writing a song to my girlfriend who just left me.
 
Old 12-11-2004, 04:58 AM   #2
valerie_tux
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 150

Rep: Reputation: 15
If you are using KDE you can try Krecord or Krec. Am not sure what apps there are with GNOME. Audacity is another alternative. I hope thats what you are looking for.

infact I was surprised that I could not find a simple answer for you. Searched quite a while before I realised it was harder than I imagined.
 
Old 12-11-2004, 12:38 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Re: How to record sound on RedHat 9?

Quote:
Originally posted by krock923
This is really important that I find out how to do this as I am writing a song to my girlfriend who just left me.


if you have alsa sound driver you need to enable Mic as a capture device
try the command
amixer set Mic cap
if you have sb live like me you also need to use the command
amixer set Capture cap 8

look at the output from amixer or look at kmix or whatever to see what to capture to turn on
once capture is turned on you can hear microphone sound out of the speakers
then try
arecord -d 10 -f cd -t wav ~/test.wav
to record a short sound and
aplay ~/test.wav
to hear it play

once you have that working move on to use the program "audacity" for your project
there are lots of good recording programs but audacity is easiest to start with and doesn't require any other
fancy sound servers or whatever

if you get stuck along the way just ask again
 
Old 04-13-2005, 12:28 PM   #4
JGooner
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Hi all

these are my first crawlings ...

amixer set Mic cap
amixer set Capture cap 8
arecord -d 10 -f cd -t wav ~/test.wav

I can hear my mic in my headset, but

aplay ~/test.wav

yields 10s of silence

Is it possible that I've futzed everything by playing with the SuSE/Gnome Volume Control before hand?

Thanks in advance

audio
 
Old 07-20-2005, 08:19 PM   #5
kite10linux
Member
 
Registered: Jul 2005
Posts: 51

Rep: Reputation: 15
This may not be helpful at all, but I recall reading something about needing to be user 'root' to record sound in some Linux distribution kernels. You might try to find out.

If you get it to work, will you post to explain what you did to get it to work?
And, if you are using the ALSA driver, what version are you using?

BTW - Have you thought about putting your music on tape and sending the tape?

Last edited by kite10linux; 07-20-2005 at 08:43 PM.
 
Old 07-21-2005, 01:27 AM   #6
krock923
Member
 
Registered: Jul 2004
Posts: 171

Original Poster
Rep: Reputation: 30
I did eventually get it to work. Although exactly how, I don't remember right now. On the good side. My girlfriend and I have been back together since around February.
 
Old 03-01-2006, 02:38 PM   #7
kamranazeem
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
sound recording on linux

Hello all,
A week of frustration and fury of not getting sound "recorded" on linux.

Tonight I joined this site and opened "all" messages relating to sound. Fiddled with all sorts of settings including IRQ changes in BIOS. But no avail.

This particular post, helped me try KILLing artsd and it sort of worked.

Here is the story:

RHEL4 , AMD Athlon 2800+ , info from my /etc/sysconfig/hwconf:
driver: snd-via82xx
desc: "VIA Technologies, Inc. VT82C686 AC97 Audio Controller"
KDE -> control center -> sound and multimedia -> sound system -> [ ] Enable sound system (disabled state).


Tried krec, gnome-sound-record, nothing, I can hear my own voice while recording but get silence only during play back. Spent a week like that. Used aumix as well and raised the IGAIN in it to 100%. Record source is MIC with 100% volume. While various fiddling I tried:

[kamran@homeserver ~]$ arecord -d 10 -f cd -t wav foo.wavRecording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

[kamran@homeserver ~]$ aplay foo.wav
Playing WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
[kamran@homeserver ~]$


Once I gave the aplay foo.wav command, I got silence and system sort of got stuck on this command prompt.

Killed the artsd and the moment I killed it, I heard my recorded sound from the speakers.

[root@homeserver ~]# ps aux | grep arts
guest 5650 0.0 0.8 21792 6840 ? S Mar01 0:00 /usr/bin/artsd -F 10 -S 4096 -a toss -d -r 44100 -b 16 -s 60 -m artsmessage -c drkonqi -l 3 -f
kamran 9374 0.4 2.4 36008 18668 ? S 00:39 0:09 /usr/bin/artsd -F 10 -S 4096 -a alsa -b 16 -m artsmessage -c drkonqi -l 3 -f
root 9570 0.1 0.9 22960 7136 ? S 01:10 0:00 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
root 9585 0.0 0.0 5192 700 pts/1 R+ 01:13 0:00 grep arts
[root@homeserver ~]# kill -9 5650
[root@homeserver ~]# kill -9 9374
[root@homeserver ~]# kill -9 9570
[root@homeserver ~]# ps aux | grep arts
root 9587 0.0 0.0 4588 688 pts/1 S+ 01:14 0:00 grep arts
[root@homeserver ~]#



I have not done much testing / recording since I got my recorded message played back, through the command line though. KREC still sounds silent! Just wanted to let you all know. Hope this helps.

Regards,
Kamran Azeem
RHCE # 804005902117615

P.S. For me alsamixer didn't do a thing. And it's famous F4 key doesn't seem to work for me!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
via82cxxx can't record sound limt7 Red Hat 1 04-15-2005 01:54 PM
Not able to record sound using microphone nosaku Slackware 4 02-05-2005 10:09 AM
Sound - Can not record! dolvmin Linux - Software 1 01-08-2005 06:00 PM
Xandros delux 2.0 When I try to run Sound server Control ,Media Player & Sound Record Jesta Linux - Distributions 0 05-15-2004 09:35 PM
sound record redhat 7.2 sourian Linux - General 0 03-19-2002 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 AM.

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