Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: recording audio from a microphone

  1. #1
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    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

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,398

    Re: recording audio from a microphone

    Quote 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.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: recording audio from a microphone

    Quote 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

  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,398
    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.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376
    Quote 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

  6. #6
    Member registered user
    Join Date
    Sep 2004
    Posts
    51
    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)

  7. #7
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,398

    confirming Audacity operation in Knoppix

    Quote 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.

  8. #8
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376
    Quote 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.

    Quote 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

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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.

  10. #10
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,398
    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.

Page 1 of 2 12 LastLast

Similar Threads

  1. hd install and tv card recording
    By ialtaparmakov in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 03-06-2010, 11:56 AM
  2. K3B cd recording software not working
    By abrand888 in forum Hardware & Booting
    Replies: 3
    Last Post: 06-14-2005, 12:33 AM
  3. No Line-in Recording (3.5 HDD)
    By MrT in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-07-2004, 08:43 AM
  4. -=Help with mencoder recording / tv card=-
    By pau1knopp in forum General Support
    Replies: 1
    Last Post: 02-06-2004, 06:31 PM
  5. Pctv Recording
    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
  •  
McAfee Firewall and Enterprise VPN - FW-410F
$229.99
McAfee Firewall and Enterprise VPN -  FW-410F picturePower Supply for Cisco ASA5505 Firewall, Model: AD10048P3 OEM
$0.99
Power Supply for Cisco ASA5505 Firewall, Model: AD10048P3 OEM picturenetgear prosafe vpn firewall fvs338
$99.99
netgear prosafe vpn firewall fvs338 pictureJuniper SSG 5 Secure Services Gateway Tested Working w/ Power Adapter
$79.49
Juniper SSG 5 Secure Services Gateway Tested Working w/ Power Adapter pictureCisco Systems PIX 501 4 Port VPN Firewall Network Switch
$20.0
Cisco Systems PIX 501 4 Port VPN Firewall Network Switch picture