LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This 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


Reply
  Search this Thread
Old 09-24-2006, 10:38 AM   #1
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
recording/capturing audio


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.

I'm using SuSE 10.0
 
Old 09-24-2006, 10:57 AM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
If you wish to record a continues long mp3 type file then check out the simply script mp3record. http://sourceforge.net/projects/mp3record/

If you are trying to record streaming audio and have it devide into seperate songs then check out streamtuner. http://freshmeat.net/redir/streamtun...ge/streamtuner
Or streamripper http://sourceforge.net/projects/streamripper/

Brian1
 
Old 09-24-2006, 11:14 AM   #3
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
I wanted to record the sound from a video that I was watching. Would this work in mp3record also?
 
Old 09-24-2006, 11:46 AM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
mp3record should do the trick. It just stores it as mp3. Open the mp3record file and read up on the commands inside it.

Brian1
 
Old 09-24-2006, 12:19 PM   #5
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
I just tried it out and i was not happy with it.

I had to be root to record anything and I could not play any files as a user.

It was installed in /usr/bin. I have now uninstalled it.

Can it be made so that it can be used as any user or is there something I'm missing?
 
Old 09-24-2006, 02:57 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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 '.

Brian1
 
Old 09-25-2006, 10:45 AM   #7
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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.
 
Old 09-25-2006, 03:58 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
$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 -.

Brian1
 
Old 01-05-2007, 08:37 PM   #9
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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.
 
  


Reply

Tags
audio, capture, devdsp, device, record



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Only mono sound when capturing audio thru mencoder. juanjavier_xxx Debian 2 05-04-2006 12:21 AM
Capturing live streaming audio space_invader64 Linux - Software 1 02-22-2006 03:26 PM
capturing streaming audio mohapi Linux - Software 2 10-11-2005 01:53 AM
Recording Audio-in Dirk the Daring Linux - General 0 12-23-2004 10:43 AM
Software dor capturing streaming audio gonniff Linux - Software 5 09-19-2003 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration