From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [204.233.198.50] (helo=linserver.complex) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 16y0xb-0002yC-00 for ; Wed, 17 Apr 2002 21:43:43 -0400 Received: (from gnowak1@localhost) by linserver.complex (8.11.4/8.10.2) id g3I1hER01351 for speakup@braille.uwo.ca; Wed, 17 Apr 2002 20:43:14 -0500 Date: Wed, 17 Apr 2002 20:43:14 -0500 From: Gregory Nowak To: speakup@braille.uwo.ca Subject: Re: aplay/arecord start-up error Message-ID: <20020417204314.A1293@uic.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from igueths@attbi.com on Wed, Apr 17, 2002 at 09:19:43PM -0400 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Yes. I've posted this same problem twice on this list; once a couple of months ago, and again a couple of weeks ago. It was Chuck H. that rtold me that I needed to pass flags other then the file name to arecord/aplay in order to get it to work at all (something that was not obvious to me from reading the docs). I can't find Chuck's e-mail, but it should be in the archives, and maybe Chuck himself will comment once again. I'm attaching his arecord script that he sent me, that might give you some idea of how to use arecord. Greg #!/bin/bash trap "" SIGINT # ignore ^C (trap - SIGINT # except in this subshell arecord -d 7200 -q -r 22050 -f S16_LE -c1 /tmp/rec22km.wav ) echo wait... if [ "$1" = "" ]; then sox /tmp/rec22km.wav rec22km.wav >/dev/null 2>&1 echo rec22km.wav (trap - SIGINT # except in this subshell play rec22km.wav ) else sox /tmp/rec22km.wav $1.wav >/dev/null 2>&1 echo $1.wav (trap - SIGINT # except in this subshell play $1.wav ) fi rm /tmp/rec22km.wav > /dev/null 2>&1 On Wed, Apr 17, 2002 at 09:19:43PM -0400, Igor Gueths wrote: > Hi all. I can play audio fine, however when I went to try to experiment > with arecord, I got the following: main 445: audio open error: > inapropriate ioctl for device. Anyone have any ideas as to what I could be > missing or doing wrong? Thanks! > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup