From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0OKOTON031949 for ; Sun, 24 Jan 2010 15:24:30 -0500 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.14]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0OKOOK3029509 for ; Sun, 24 Jan 2010 15:24:24 -0500 Received: from ewr.djernes.net (ewr.djernes.net [97.107.141.189]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0OKO9gs028253 for ; Sun, 24 Jan 2010 15:24:09 -0500 Received: from data.home (bzq-79-176-184-185.red.bezeqint.net [79.176.184.185]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ewr.djernes.net (Postfix) with ESMTPSA id 6C65C20007 for ; Sun, 24 Jan 2010 20:24:08 +0000 (UTC) Date: Sun, 24 Jan 2010 22:24:05 +0200 (IST) From: Geoff Shang X-X-Sender: geoff@data.home To: Linux for blind general discussion Subject: Re: ramblin rec In-Reply-To: <201001241806.o0OI61C0018390@nyx.nyx.net> Message-ID: References: <201001241806.o0OI61C0018390@nyx.nyx.net> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-RedHat-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.14 X-loop: blinux-list@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: Linux for blind general discussion List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 20:24:30 -0000 On Sun, 24 Jan 2010, Brian Tew wrote: > Right now my pc is a glorified amplifier. I can hear the mic > thru my earphones, and cannot get it to stop. > I turn down the volume with aumix to avoid feedback. Your mic is probably not muted. Try something like: amixer sset Mic off Note the two letter s's in sset. This *should* mute your mic. If it doesn't like the 'Mic" bit, run amixer without any arguments (probalby pipe it through more/less) and see what your mic channel is called. Note that amixer is inthe alsa-utils package. I'm recommending amixer because (a) I'm not very familiar with aumix, and (B) your message indicates that you're using ALSA. Note that this assumes you hear your voice back immediately with no delay/echo. If there is some kind of delay then this will be a different problem (see below). > I can play wavs and mp3s just fine, but cannot record. > > I type: rec -d foo.wav > -d means use the default input device, which should be the mic. I'm assuming this is rec as one of the forms of sox. I couldn't find any documentation for a -d switch. The default device, which referrs to the soundcard, not the channel on the card, will be used in any case, regardless of any -d switch (according to the sox manpage and my testing). > linux replies: snd_pcm_open error: device or resource is busy This indicates that something else has the card open. Do you perhaps have something else managing yoru sound as part of Gnome or something? You can probably find out what has the card open by using fuser, though exactly which device to search for I'm not sure. > Something is forcing a connection from mic to pcm to earphones. If you hear the mic back with no delay of any sort, then this is probably not the case. the snd_pcm_open above refers to a function call called snd_pcm_open, which is not related to the PCM output channel of your soundcard. Geoff.