Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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 would like to record or capture audio and I've read a bit about using the AlsaMixer. I tried the settings suggested but when I click on the record button in Audacity, I get the following message (while I'm playing the music I would like to record):
"Error initializing audio i/o layer. You will not be able to play or record audio. Host error"
I also get the message:
"Error while opening sound device. Please check the input device settings and the project sample rate."
I've seen that the input device is /dev/dsp and there are no other choices. it's the same as the playback device.
In AlsaMixer, it says that it is set to Capture All.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
No problems here as a user. I just extracted to my local home directory and run ./mp3record. Only thing you may need to do is set the permissions on /dev/dsp. Set to like ' /sbin/chmod 666 /dev/dsp '.
I did extract it to my home directory but when I type in a terminal ./mp3record, it says that it is a directory.
The directions that were included in the package said:
To install mp3record, simply run the included install.sh as root
$ cd /whereyouunzippedit/mp3record/
$ ./install.sh
Which is what I did but what I did not understand completely was:
"sox and lame need to be installed and in the $PATH variable." I know I have sox and lame but what do they mean by $PATH variable? They did not show an example of that.
Also when I tried (as root) /sbin/chmod 666 /dev/dsp it said no such file or directory.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
$PATH is used to define path variables. When you type the command ' $PATH ' it will show the directories used in path. So all you need to do is verify that say if lame is at /usr/bin/lame that one of the path variables is /usr/bin.
My fault the chmod command is in /bin and not /sbin. I just perfer to use full path to commands so there is no issues when one uses su or su -.
When I had sound problems after an update, I had my husband install a soundcard that we had laying around and I installed the newest Alsa sound driver.
I just tried to record from the internet radio today and found that I can now capture sound.
I guess all it took was to have a soundcard installed rather than trying to use the "onboard" sound that comes on the motherboard.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.