Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have another thread going on where I cannot record from the line in on my iMac running Ubuntu dual boot.
In this case, i have a Dell PC that I am trying to record from the same radio I use to record from on my Mac. On my iMac and my G4, recording from the radio works fine. i tried recording from the Dell with no luck. What should I do? The cable is plugged into the proper port on the back of the Dell.
Runs fine now. Not sure why. Still no luck getting the line-in to work on my dual boot copy of Ubuntu 10.04 on my iMac . This is the machine I really need to get this working.
I was about to make the same suggestion about alsamixer.
@ rmcellig
Below is an attachment of my soundcard with line-in enable
Use the TAB key or the F-keys to move to the Capture Channel. Then use the arrow keys to move under the line-in channel. Now press the spacebar to toggle it as the capture source.
Now hit the ESC key to exit and run the command below.
I have been away from my Ubuntu 10.10 partition for a while because I had some stuff I needed to do in the Mac partition. I haven't had a chance to try out what you suggested in your last couple of posts. I will tomorrow. I am using arecord to record but the fact that I don't even see any activity in Sound Preferences has me wondering what is going on. On my PC, in Sound preferences, I can see that there is audio activity going on but in Ubuntu on my Mac, nothing at all. I am in my Mac partition now because I have to record a radio show which I cannot do in my Ubuntu partition, that's why I will try your suggestions tomorrow when I am back in my Ubuntu partition.
Do you have Ubuntu installed on an iMac like I do? If so does it work OK? Sory for the confusion. I just noticed that my post was about my Dell PC. That works fine now. I am getting mixed up with the posts I have out there regarding my iMac Ubuntu problems.
I know this might sound strange from a Mac user but I really like Ubuntu alot!!
Do you have Ubuntu installed on an iMac like I do?
No, I do not have ubuntu nor do I have an iMac.
I have a PC dual booting pclinuxos and arch.
The method I mentioned above works for me. The important part is selecting the correct source (i.e line) and which mixer device to use i.e ALSA or OSS.
My soundcard is a Soundblaster 16 and it uses the ens1371 module.
I have used both ALSA and OSS to record audio from the line in port with no problems at all. I personally prefer the command line and I use ffmpeg and arecord to record the audio.
Below are a few examples to record with ffmpeg and arecord either using ALSA or OSS.
ALSA Recording CD Quality
Code:
arecord -D hw:0 -f cd out.wav
Or
Code:
ffmpeg -f alsa -i hw:0 -ar 44100 -ac 2 out.wav
OSS recording CD Quality
Code:
ffmpeg -f oss -i /dev/dsp -ar 44100 -ac 2 out.wav
Note: if you have more than one audio device, use the correct device ( i.e hw:1,hw:2,etc or /dev/dsp1,/dev/dsp2,etc ) to where the line-in is connected to.
The out.wav could be any file name.
I use WAV recording to get the best sound, this puts less strain on the CPU as it doesn't have to record and encode the stream at the same time.
After recording, I then convert them to ogg or mp3.
Anyway, I hope these suggestions helps as it works for me.
First off I want to make sure that the General forum is the right forum for my question.
I am running Ubuntu 10.10 in dual boot mode on my 24" iMac. Everything is working fine except I am unable to record my radio shows from my Radio that is plugged into my iMac. When I am in the OS X partition, I have no problems recording. In Ubuntu, there is no sound activity in the Sound Preference window. Can you please let me know what I should do, step by step so that I am able to record from my radio?
Let me know if you require more information that I can post back.
Aside: I have become convinced that Pulseaudio is not ready for prime time. On my Slackware boxes, I have never encountered the audio problems that I regularly encounter in Ubuntu. Slack does not use Pulseaudio.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.