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,441

    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,441
    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,441

    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,441
    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-13-2005, 11:33 PM
  3. No Line-in Recording (3.5 HDD)
    By MrT in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-07-2004, 07: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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$15.49



Samsung 2 x 16GB DDR4 2Rx4 PC4-2133P-R Server Memory ECC Reg RDIMM M393A2G40DB0 picture

Samsung 2 x 16GB DDR4 2Rx4 PC4-2133P-R Server Memory ECC Reg RDIMM M393A2G40DB0

$29.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



SK hynix HMABAGL7ABR4N-WM 128GB PC4-23400 DDR4-2933MHz ECC Server RAM Memory picture

SK hynix HMABAGL7ABR4N-WM 128GB PC4-23400 DDR4-2933MHz ECC Server RAM Memory

$229.00



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



SK Hynix 8GB (2x4GB) 1Rx8 PC3L-12800 DDR3-1600MHz Laptop Memory HMT451S6AFR8A-PB picture

SK Hynix 8GB (2x4GB) 1Rx8 PC3L-12800 DDR3-1600MHz Laptop Memory HMT451S6AFR8A-PB

$8.25



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 8x 16GB 2Rx4 PC4-19200R DDR4 2400 ECC REG RDIMM Server Memory RAM picture

A-Tech 128GB 8x 16GB 2Rx4 PC4-19200R DDR4 2400 ECC REG RDIMM Server Memory RAM

$175.92