How to record from Line in? (Solved)

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

How to record from Line in? (Solved)

#1 Post by rmcellig »

I have a radio connected to my Line in jack on my computer. i can hear the radio fine through the computer, but I am unable to record any sound. Is there something in my settings that is not set correctly?

Like I said, i can hear the radio through my computer so there seems to be no problem listening to the audio. It's just recording that seems to be the problem.here is the code I am using to record. This code works fine in other distros by the way.

arecord -t wav -f cd -d 8900 /root/my-documents/iamt.wav

arecord -t wav -f cd -d 44 /root/my-documents/testaudio.wav

I am using pschedule 1.0.2
Attachments
audio.png
My Audio settings
(17.33 KiB) Downloaded 365 times
retrovol.jpg
My Retrovol settings
(36.5 KiB) Downloaded 549 times

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#2 Post by rhadon »

In your audio.png, Line is muted (MM). Maybe that's the problem? Unmute it with 'M' key. Try also the others like Line Jack, AUX and so on.

HTH
Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#3 Post by rmcellig »

Here are my current ALSA settings. I still can't record. i opened the recorded file in Audacity and there is no sound at all. No audio waveform.

So in summary, this is what I can do:

I can play audio files
i can hear the audio coming from the radio connected to my computer

What I still cannot do is record audio from the radio.
Attachments
newsound.jpg
(56.13 KiB) Downloaded 338 times

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#4 Post by steve_s »

rmcellig wrote:Here are my current ALSA settings. I still can't record. i opened the recorded file in Audacity and there is no sound at all. No audio waveform.

So in summary, this is what I can do:

I can play audio files
i can hear the audio coming from the radio connected to my computer

What I still cannot do is record audio from the radio.
i'm betting you've already investigated this, but is it one of your settings in audacity? I've had luck recording from the line in with audacity, but as I remember i always had to hold my face just right to make certain it was using the correct settings from the line in...

it would seem to me that if you can hear it, then your settings on the computer regarding line in are correct, therefore it may be an auadacity setting rather than a computer setting..

also, as I remember, there was the occasional conflict of alsa running multiple things, so I had to start audacity recording THEN start the in-line input...

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#5 Post by rmcellig »

I tried Audacity and checked again and all looks fine but still no ability to record.

My main method of recordings is to use the arecord code. I use this in other Linux distros and it works fine. I'm sure it's some kind of setting and maybe something real simple that is causing me problems. Do my ALSA settings look OK? The latest ones that I posted previously?

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#6 Post by rjbrewer »

rmcellig wrote:I tried Audacity and checked again and all looks fine but still no ability to record.

My main method of recordings is to use the arecord code. I use this in other Linux distros and it works fine. I'm sure it's some kind of setting and maybe something real simple that is causing me problems. Do my ALSA settings look OK? The latest ones that I posted previously?
In retrovol;
If you're using line input, you need capture.so set to line,
not mike.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#7 Post by steve_s »

rjbrewer wrote:In retrovol;
If you're using line input, you need capture.so set to line,
not mike.
Oh, good catch

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#8 Post by Flash »

You might also try mhWaveEdit (Menu -> Multimedia -> mhWaveEdit audio recorder editor.) It works for me.

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#9 Post by rmcellig »

Bingo! Problem solved. I guess I wasn't able to catch that I had Mic set instead of Line for Capture So. works fine now. i know it was a simple config issue. Thanks for setting me straight!!!!

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#10 Post by rjbrewer »

rmcellig wrote:Bingo! Problem solved. I guess I wasn't able to catch that I had Mic set instead of Line for Capture So. works fine now. i know it was a simple config issue. Thanks for setting me straight!!!!
Most apps are just fancy ways of using wavrec and it only
takes maybe 4 or 5 settings in alsa or retrovol to record
line, mic, or stream.

http://puppylinux.org/wikka/WavRec

http://www.murga-linux.com/puppy/viewto ... _id=485732

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#11 Post by rmcellig »

That makes sense. I am running Ultimate Edition 3.0 in another partition which is a Ubuntu Distro fork. Took me around 30 seconds to set up the audio but now that I know what to do in Puppy, it's a snap as well.

Post Reply