LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-03-2014, 03:33 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,498

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Trouble recording audio with a microphone


Hi,

I'd like to make some audio (voice) recordings on my Slackware box. I have a microphone plugged into my sound card. I can play test sounds in /usr/share/sounds/alsa fine, I can hear them in my speakers. And when I speak into the microphone, I can hear my voice coming out of the speakers. But I can't seem to record anything. I tried this:

Code:
# arecord -d 10 test-mic.wav
# aplay test-mic.wav
But nothing is recorded.

Any suggestions?
 
Old 06-03-2014, 04:16 AM   #2
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 421

Rep: Reputation: 123Reputation: 123
Perhaps try using audacity. The GUI might make things simpler. Then, if after that your microphone is not detected properly, or not supported, try to borrow a USB microphone. I've recently bought a tape-cassette->USB device. It appeared in the audacity device drop down list and just-plain-worked-first-time !
 
1 members found this post helpful.
Old 06-03-2014, 04:32 AM   #3
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,498

Original Poster
Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
Originally Posted by Mark Pettit View Post
Perhaps try using audacity. The GUI might make things simpler. Then, if after that your microphone is not detected properly, or not supported, try to borrow a USB microphone. I've recently bought a tape-cassette->USB device. It appeared in the audacity device drop down list and just-plain-worked-first-time !
OK, I've fiddled around quite a bit with alsamixer, followed your advice and tried Audacity. First results are very encouraging. I can record my voice OK, and even with my crappy headset, the sound is actually quite good. I experimented a lot with the various settings and managed to reduce distortion to a minimum.

Now I wonder how I can get recordmydesktop to record sound. According to Audacity, I'm using the "Rear Mic". The manpage 'man recordmydesktop' specifies a --device SOUND_DEVICE switch (default hw:0,0). Hmmmm. Now what?

Edit: I finally managed to have sound with recordmydesktop, but it's very low, almost inaudible, compared to what I got with Audacity.

Edit2: after quite some more fiddling with alsamixer, everything works perfectly now.

I can now record screencasts complete with audio using recordmydesktop.

Thanks very much! I'll mark this thread as SOLVED.

Last edited by kikinovak; 06-03-2014 at 04:42 AM.
 
Old 06-03-2014, 05:23 AM   #4
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,498

Original Poster
Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
PS: I've written a little HOWTO on the subject.

http://kikinovak.wordpress.com/2014/...cordmydesktop/
 
1 members found this post helpful.
Old 06-04-2014, 08:08 AM   #5
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 366

Rep: Reputation: 61
Quote:
Originally Posted by kikinovak View Post
PS: I've written a little HOWTO on the subject.

http://kikinovak.wordpress.com/2014/...cordmydesktop/
Thanks for this kikinovak!
 
  


Reply

Tags
alsa, audio


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
Qemu-KVM - Win 7 Audio (microphone) recording Nick_C Linux - Virtualization and Cloud 2 05-05-2012 05:41 AM
can't use my microphone for voice recording sfxpt Linux - General 3 02-04-2009 12:55 AM
Recording sound from a microphone Mickald Dreamlinux 3 12-19-2008 12:51 PM
No sound recording from microphone ihatejunk1 Linux - Software 1 03-14-2005 02:11 AM
Please help! Recording from microphone Accordion Linux - Newbie 3 06-15-2004 09:10 PM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration