-
Senior Member
registered user
recording audio from a microphone
Has anyone recorded audio from a microphone using Linux? If so, how?
I just want to record my voice saying hello world and save it as an .wav or .mp3 file. I've tried using Knoppix 4.0.2 by starting Audacity (K > Multimedia > Audacity ) and then clicking on the red Record button, but all I get is a loud hum. Do I need to configure something else first, e.g. load a module, configure a device, something?
The machine is an eMachines T23341. lspci lists the sound card as "multimedia audio controller: VIA Technologies, In.c VT8233/A/8235/8237 AC97 Audio Controller (rev 50)." Been googling but haven't found anything helpful, yet. I've also been reading the Audacity tutorials.
BTW, if I boot the same machine with Windows XP, everything works just fine using Sound Recorder, but I can only record 75 seconds.
Regards,
- Robert
http://www.cwelug.org
-
Administrator
Site Admin-
Re: recording audio from a microphone

Originally Posted by
rwcitek
BTW, if I boot the same machine with Windows XP, everything works just fine using Sound Recorder, but I can only record 75 seconds.
Sorry, I don't have any answers about your hardware or Linux. But re the above quote, sound recorder is a typical MS "good enough for our users" type of program. OK for a quick test of audio in, but that's about it. If you want a great open source audio recording and editing program for Windows XP (and 98, as well as for Linux and MacOsX) that will get you past the MS limitation, look at Audacity, availabe at the link provided and also as part of TheOpenCD.
By the way, Audacity is on the Knoppix DVD (but not the CD), so you may be able to get it working from Knoppix too.
-
Senior Member
registered user
Re: recording audio from a microphone

Originally Posted by
Harry Kuhman
By the way, Audacity is on the Knoppix DVD (but not the CD), so you may be able to get it working from Knoppix too.
Actually, Audacity is on the 4.0.2 CD, too. It's what I've been using. I just don't seem to be able to get it to record. Plays existing recordings just fine, though.
Regards,
- Robert
http://www.cwelug.org
-
Administrator
Site Admin-
Does seem like a hardware issue then. Strange, the CD package list that I checked didn't seem to show it (I didn't boot the CD and look). I may try it later on my main Knoppix system and let you know if I had any luck recording. But it will resolve your XP issue.
---
Verifying of md5 checksum and burning a CD at slow speed are important.
-
Senior Member
registered user

Originally Posted by
Harry Kuhman
I may try it later on my main Knoppix system and let you know if I had any luck recording. But it will resolve your XP issue.
That'd be great if you coudl confirm. I did just install Audacity on my Mac OS X 10.4. Works great, just as expected. So that does seem to suggest either a software error with Audacity on Linux (Knoppix) or incompatible hardware.
Regards,
- Robert
http://www.cwelug.org
-
make sure the "line-in" is active in Kmixer and that the input volume is up.
(Haven't had any trouble with my eMachines M5310 laptop)
-
Administrator
Site Admin-
confirming Audacity operation in Knoppix

Originally Posted by
rwcitek
That'd be great if you coudl confirm.
I just booted my 4.0.2 DVD (wanted to use the CD but it seems that although I've downloaded and seeded the CD version, I haven't actually burnt a copy yet). Will have to do that soon, but the system I burn with is tied up for a while. After boot I didn't do anything except start Audacity from the multimedia menu. Picked English as the language. Pressed the record button and talked into my microphone. It recorded the audio. Signal trace shows a nice strong level with no clipping. It doesn't sound that loud when played back, but it's certainly there and what I recorded. Maybe my playback volume needs increased. This is on an HP Ze4240 notebook with on-board audio.
-
Senior Member
registered user

Originally Posted by
atrick-pay
make sure the "line-in" is active in Kmixer and that the input volume is up.
Here are some image captures: kmix input, Audacity record screen, Audacity preferences.

Originally Posted by
atrick-pay
(Haven't had any trouble with my eMachines M5310 laptop)
What sound card do you have? That is, what does lspci list for your soundcard?
Regards,
- Robert
http://www.cwelug.org
-
Just to test the mic I usually use:
rec -d /dev/dsp2 file.wav
ctrl-c
play file.wav
Yours might be dsp0, "cat /proc/asound/cards" will tell the number.
-
Administrator
Site Admin-
Another update: I burnt the 4.0.2 CD and tried it on my main system with slightly different results. Audacity was indeed there, I started it. This system has a different sound card than the HP notebook I used previously; it's a cheap generic PCI sound card that Windows device manager identifies as an ALS4000 Audio Device. This time Audacity didn't record the sound at first as I spoke into the mic. I had to use the control on Audacity to switch from line-in to mic, which I didn't use on the HP notebook. It then did record the audio, but the sound was so low that the waveform did not show up on the plot and I could barely hear it when played back, but I could hear it and so it was recorded. I expect it's a mic level or boost issue and I have not figured out yet how to crank the input volume up under Knoppix, but Audacity is now 2 for 2 for me in Knoppix if I can count this as a sucess.
Similar Threads
-
By ialtaparmakov in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 03-06-2010, 11:56 AM
-
By abrand888 in forum Hardware & Booting
Replies: 3
Last Post: 06-13-2005, 11:33 PM
-
By MrT in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 09-07-2004, 07:43 AM
-
By pau1knopp in forum General Support
Replies: 1
Last Post: 02-06-2004, 06:31 PM
-
By amin_heydarpour in forum Hardware & Booting
Replies: 0
Last Post: 11-30-2003, 04:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HP 2x 10GB OPNsense Quad Core i5-8500 8GB RAM 3Port Gigabit Firewall AES-NI SSD
$199.95

OPNsense Firewall 16-Core Atom C3958 16GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI
$195.00

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99

Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot
$95.99

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$258.00

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$229.99

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$125.00

Sophos XG 210 Rev. 3 Firewall Appliance – 8GB RAM / 128GB SSD – Tested & Reset
$149.99

HPE Networking Instant On Secure Gateway Smart-Managed Switch (S0G33A#ABA) - New
$269.99

Barracuda NextGen CloudGen Cloud Based Firewall F280 BNGF280a w/ 8.3.1 Firmware
$89.99