public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* aplay/arecord start-up error
@  Igor Gueths
   ` Gregory Nowak
   ` Charles Hallenbeck
  0 siblings, 2 replies; 11+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

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!



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
   aplay/arecord start-up error Igor Gueths
@  ` Gregory Nowak
   ` Charles Hallenbeck
  1 sibling, 0 replies; 11+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: speakup

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
   aplay/arecord start-up error Igor Gueths
   ` Gregory Nowak
@  ` Charles Hallenbeck
     ` 'Georgina'
     ` Igor Gueths
  1 sibling, 2 replies; 11+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

Hi Igor,

The script I sent Greg, and which he resent, is not too
meaningful without a detailed commentary, and it is specific to
version 0.9.0beta11 of the alsa drivers. So if you just copy that
script it may or may not work for you.

In general you need to use a bunch of options with arecord in
addition to naming the file you want to create. You need to
specify the sampling rate you want to use, the sample size, the
file type, how many channels to create, and the duration of the
recording you want to make. How you do all those things will vary
somewhat depending on your version of alsa. The documentation is
pretty skimpy, but it is all there in the man page if you have
the patience to tease it out.

If you can tell us the alsa version you are using and show us the
command line you tried to use perhaps we can get more specific.

Chuck

On Wed, 17 Apr 2002, 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
>

Visit me at http://www.valstar.net/~hallenbeck
The Moon is Waxing Crescent (28% of Full)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
   ` Charles Hallenbeck
@    ` 'Georgina'
       ` Igor Gueths
     ` Igor Gueths
  1 sibling, 1 reply; 11+ messages in thread
From: 'Georgina' @  UTC (permalink / raw)
  To: speakup

Hi

Glad that your requested the version number of the alsa driver as some of
the lines may produce interesting results.  I see that the -d (Duration) was
set at 2 hours, that's a lot of disk space.

Using alsa 09 beta 10 I use these lines:

arecord -d 1800 <filename>.wav

This will produce a 8 bit mono file of 14Mb of half an hour.

arecord -f cd -d 1800 <filename>.wav

Which will record a 16 bit stereo CD quality recording.  Can't remember the
disk space used for this half an hour recording.

A "arecord --help" will tell users what switches are available for their
particular version.  Providing the little indians don't get you, lol.

Gena



Blindness Advocacy and Self Help Online www.bashonline.org

>
>Hi Igor,
>
>The script I sent Greg, and which he resent, is not too
>meaningful without a detailed commentary, and it is specific to
>version 0.9.0beta11 of the alsa drivers. So if you just copy that
>script it may or may not work for you.
>
>In general you need to use a bunch of options with arecord in
>addition to naming the file you want to create. You need to
>specify the sampling rate you want to use, the sample size, the
>file type, how many channels to create, and the duration of the
>recording you want to make. How you do all those things will vary
>somewhat depending on your version of alsa. The documentation is
>pretty skimpy, but it is all there in the man page if you have
>the patience to tease it out.
>
>If you can tell us the alsa version you are using and show us the
>command line you tried to use perhaps we can get more specific.
>
>Chuck
>
>On Wed, 17 Apr 2002, 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
>>
>
>Visit me at http://www.valstar.net/~hallenbeck
>The Moon is Waxing Crescent (28% of Full)
>
>
>_______________________________________________
>Speakup mailing list
>Speakup@braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
   ` Charles Hallenbeck
     ` 'Georgina'
@    ` Igor Gueths
  1 sibling, 0 replies; 11+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi Chuck. My bad on the error thing. I just typed arecord --help and got
usage info, this means that the prog works. The only thing that threw me
off there was my little standard of just typing in program name and
expecting usage information. Kind of stupid of me that I didn't try that
yesterday, but again I was doing this at about 2:00 a.m smile!


On Thu, 18 Apr 2002, Charles Hallenbeck wrote:

>
> Hi Igor,
>
> The script I sent Greg, and which he resent, is not too
> meaningful without a detailed commentary, and it is specific to
> version 0.9.0beta11 of the alsa drivers. So if you just copy that
> script it may or may not work for you.
>
> In general you need to use a bunch of options with arecord in
> addition to naming the file you want to create. You need to
> specify the sampling rate you want to use, the sample size, the
> file type, how many channels to create, and the duration of the
> recording you want to make. How you do all those things will vary
> somewhat depending on your version of alsa. The documentation is
> pretty skimpy, but it is all there in the man page if you have
> the patience to tease it out.
>
> If you can tell us the alsa version you are using and show us the
> command line you tried to use perhaps we can get more specific.
>
> Chuck
>
> On Wed, 17 Apr 2002, 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
> >
>
> Visit me at http://www.valstar.net/~hallenbeck
> The Moon is Waxing Crescent (28% of Full)
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
     ` 'Georgina'
@      ` Igor Gueths
         ` Charles Hallenbeck
  0 siblings, 1 reply; 11+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi
all. Now that I think about it, got another question. I got the alsa
drivers/lib/utils version 0.9.0beta12, but I couldn't figure out where the
drivers were placed. I am using beta 9 and using a start-up script that I
wrote that loads the apropriate module at boot time. In terms of beta 12,
I looked in /lib/modules/2.4.18/kernel/sound/acore. I looked in the isa
directory, considering that I have an isa-pnp card, and the driver for my
cs4236 wasn't present. With beta9, I just use modprobe to load the mods,
and everything works perfectly. Any ideas of where the installer may have
hidden those drivers lol! Thanks.  On Thu, 18 Apr 2002, 'Georgina' wrote:

> Hi
>
> Glad that your requested the version number of the alsa driver as some of
> the lines may produce interesting results.  I see that the -d (Duration) was
> set at 2 hours, that's a lot of disk space.
>
> Using alsa 09 beta 10 I use these lines:
>
> arecord -d 1800 <filename>.wav
>
> This will produce a 8 bit mono file of 14Mb of half an hour.
>
> arecord -f cd -d 1800 <filename>.wav
>
> Which will record a 16 bit stereo CD quality recording.  Can't remember the
> disk space used for this half an hour recording.
>
> A "arecord --help" will tell users what switches are available for their
> particular version.  Providing the little indians don't get you, lol.
>
> Gena
>
>
>
> Blindness Advocacy and Self Help Online www.bashonline.org
>
> >
> >Hi Igor,
> >
> >The script I sent Greg, and which he resent, is not too
> >meaningful without a detailed commentary, and it is specific to
> >version 0.9.0beta11 of the alsa drivers. So if you just copy that
> >script it may or may not work for you.
> >
> >In general you need to use a bunch of options with arecord in
> >addition to naming the file you want to create. You need to
> >specify the sampling rate you want to use, the sample size, the
> >file type, how many channels to create, and the duration of the
> >recording you want to make. How you do all those things will vary
> >somewhat depending on your version of alsa. The documentation is
> >pretty skimpy, but it is all there in the man page if you have
> >the patience to tease it out.
> >
> >If you can tell us the alsa version you are using and show us the
> >command line you tried to use perhaps we can get more specific.
> >
> >Chuck
> >
> >On Wed, 17 Apr 2002, 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
> >>
> >
> >Visit me at http://www.valstar.net/~hallenbeck
> >The Moon is Waxing Crescent (28% of Full)
> >
> >
> >_______________________________________________
> >Speakup mailing list
> >Speakup@braille.uwo.ca
> >http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
       ` Igor Gueths
@        ` Charles Hallenbeck
           ` Igor Gueths
           ` 'Georgina'
  0 siblings, 2 replies; 11+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

Igor -

It is possible that the names of the drivers may have changed.
They used to be called "snd-card-xxxx" but at least in beta11
they are now called "snd-xxxx" without the "card" part.

Chuck


On Thu, 18 Apr 2002, Igor Gueths wrote:

> Hi
> all. Now that I think about it, got another question. I got the alsa
> drivers/lib/utils version 0.9.0beta12, but I couldn't figure out where the
> drivers were placed. I am using beta 9 and using a start-up script that I
> wrote that loads the apropriate module at boot time. In terms of beta 12,
> I looked in /lib/modules/2.4.18/kernel/sound/acore. I looked in the isa
> directory, considering that I have an isa-pnp card, and the driver for my
> cs4236 wasn't present. With beta9, I just use modprobe to load the mods,
> and everything works perfectly. Any ideas of where the installer may have
> hidden those drivers lol! Thanks.  On Thu, 18 Apr 2002, 'Georgina' wrote:
>
> > Hi
> >
> > Glad that your requested the version number of the alsa driver as some of
> > the lines may produce interesting results.  I see that the -d (Duration) was
> > set at 2 hours, that's a lot of disk space.
> >
> > Using alsa 09 beta 10 I use these lines:
> >
> > arecord -d 1800 <filename>.wav
> >
> > This will produce a 8 bit mono file of 14Mb of half an hour.
> >
> > arecord -f cd -d 1800 <filename>.wav
> >
> > Which will record a 16 bit stereo CD quality recording.  Can't remember the
> > disk space used for this half an hour recording.
> >
> > A "arecord --help" will tell users what switches are available for their
> > particular version.  Providing the little indians don't get you, lol.
> >
> > Gena
> >
> >
> >
> > Blindness Advocacy and Self Help Online www.bashonline.org
> >
> > >
> > >Hi Igor,
> > >
> > >The script I sent Greg, and which he resent, is not too
> > >meaningful without a detailed commentary, and it is specific to
> > >version 0.9.0beta11 of the alsa drivers. So if you just copy that
> > >script it may or may not work for you.
> > >
> > >In general you need to use a bunch of options with arecord in
> > >addition to naming the file you want to create. You need to
> > >specify the sampling rate you want to use, the sample size, the
> > >file type, how many channels to create, and the duration of the
> > >recording you want to make. How you do all those things will vary
> > >somewhat depending on your version of alsa. The documentation is
> > >pretty skimpy, but it is all there in the man page if you have
> > >the patience to tease it out.
> > >
> > >If you can tell us the alsa version you are using and show us the
> > >command line you tried to use perhaps we can get more specific.
> > >
> > >Chuck
> > >
> > >On Wed, 17 Apr 2002, 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
> > >>
> > >
> > >Visit me at http://www.valstar.net/~hallenbeck
> > >The Moon is Waxing Crescent (28% of Full)
> > >
> > >
> > >_______________________________________________
> > >Speakup mailing list
> > >Speakup@braille.uwo.ca
> > >http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

Visit me at http://www.valstar.net/~hallenbeck
The Moon is Waxing Crescent (32% of Full)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
         ` Charles Hallenbeck
@          ` Igor Gueths
           ` 'Georgina'
  1 sibling, 0 replies; 11+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi Chuck. But is their some specific dir where the drivers are placed? For example /lib/modules/2.4.18/misc? Thanks!
----- Original Message ----- 
From: Charles Hallenbeck <hallenbeck@valstar.net>
To: <speakup@braille.uwo.ca>
Sent: Thursday, April 18, 2002 4:45 PM
Subject: Re: aplay/arecord start-up error 


> Igor -
> 
> It is possible that the names of the drivers may have changed.
> They used to be called "snd-card-xxxx" but at least in beta11
> they are now called "snd-xxxx" without the "card" part.
> 
> Chuck
> 
> 
> On Thu, 18 Apr 2002, Igor Gueths wrote:
> 
> > Hi
> > all. Now that I think about it, got another question. I got the alsa
> > drivers/lib/utils version 0.9.0beta12, but I couldn't figure out where the
> > drivers were placed. I am using beta 9 and using a start-up script that I
> > wrote that loads the apropriate module at boot time. In terms of beta 12,
> > I looked in /lib/modules/2.4.18/kernel/sound/acore. I looked in the isa
> > directory, considering that I have an isa-pnp card, and the driver for my
> > cs4236 wasn't present. With beta9, I just use modprobe to load the mods,
> > and everything works perfectly. Any ideas of where the installer may have
> > hidden those drivers lol! Thanks.  On Thu, 18 Apr 2002, 'Georgina' wrote:
> >
> > > Hi
> > >
> > > Glad that your requested the version number of the alsa driver as some of
> > > the lines may produce interesting results.  I see that the -d (Duration) was
> > > set at 2 hours, that's a lot of disk space.
> > >
> > > Using alsa 09 beta 10 I use these lines:
> > >
> > > arecord -d 1800 <filename>.wav
> > >
> > > This will produce a 8 bit mono file of 14Mb of half an hour.
> > >
> > > arecord -f cd -d 1800 <filename>.wav
> > >
> > > Which will record a 16 bit stereo CD quality recording.  Can't remember the
> > > disk space used for this half an hour recording.
> > >
> > > A "arecord --help" will tell users what switches are available for their
> > > particular version.  Providing the little indians don't get you, lol.
> > >
> > > Gena
> > >
> > >
> > >
> > > Blindness Advocacy and Self Help Online www.bashonline.org
> > >
> > > >
> > > >Hi Igor,
> > > >
> > > >The script I sent Greg, and which he resent, is not too
> > > >meaningful without a detailed commentary, and it is specific to
> > > >version 0.9.0beta11 of the alsa drivers. So if you just copy that
> > > >script it may or may not work for you.
> > > >
> > > >In general you need to use a bunch of options with arecord in
> > > >addition to naming the file you want to create. You need to
> > > >specify the sampling rate you want to use, the sample size, the
> > > >file type, how many channels to create, and the duration of the
> > > >recording you want to make. How you do all those things will vary
> > > >somewhat depending on your version of alsa. The documentation is
> > > >pretty skimpy, but it is all there in the man page if you have
> > > >the patience to tease it out.
> > > >
> > > >If you can tell us the alsa version you are using and show us the
> > > >command line you tried to use perhaps we can get more specific.
> > > >
> > > >Chuck
> > > >
> > > >On Wed, 17 Apr 2002, 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
> > > >>
> > > >
> > > >Visit me at http://www.valstar.net/~hallenbeck
> > > >The Moon is Waxing Crescent (28% of Full)
> > > >
> > > >
> > > >_______________________________________________
> > > >Speakup mailing list
> > > >Speakup@braille.uwo.ca
> > > >http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> Visit me at http://www.valstar.net/~hallenbeck
> The Moon is Waxing Crescent (32% of Full)
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
         ` Charles Hallenbeck
           ` Igor Gueths
@          ` 'Georgina'
             ` 'Georgina'
  1 sibling, 1 reply; 11+ messages in thread
From: 'Georgina' @  UTC (permalink / raw)
  To: speakup

Hi

Using beta 10, my modules are located in /lib/modules/2.4.18/misc/

Gena



Blindness Advocacy and Self Help Online www.bashonline.org

>Igor -
>
>It is possible that the names of the drivers may have changed.
>They used to be called "snd-card-xxxx" but at least in beta11
>they are now called "snd-xxxx" without the "card" part.
>
>Chuck
>
>
>On Thu, 18 Apr 2002, Igor Gueths wrote:
>
>> Hi
>> all. Now that I think about it, got another question. I got the alsa
>> drivers/lib/utils version 0.9.0beta12, but I couldn't figure out where the
>> drivers were placed. I am using beta 9 and using a start-up script that I
>> wrote that loads the apropriate module at boot time. In terms of beta 12,
>> I looked in /lib/modules/2.4.18/kernel/sound/acore. I looked in the isa
>> directory, considering that I have an isa-pnp card, and the driver for my
>> cs4236 wasn't present. With beta9, I just use modprobe to load the mods,
>> and everything works perfectly. Any ideas of where the installer may have
>> hidden those drivers lol! Thanks.  On Thu, 18 Apr 2002, 'Georgina' wrote:
>>
>> > Hi
>> >
>> > Glad that your requested the version number of the alsa driver as some of
>> > the lines may produce interesting results.  I see that the -d (Duration) w
as
>> > set at 2 hours, that's a lot of disk space.
>> >
>> > Using alsa 09 beta 10 I use these lines:
>> >
>> > arecord -d 1800 <filename>.wav
>> >
>> > This will produce a 8 bit mono file of 14Mb of half an hour.
>> >
>> > arecord -f cd -d 1800 <filename>.wav
>> >
>> > Which will record a 16 bit stereo CD quality recording.  Can't remember th
e
>> > disk space used for this half an hour recording.
>> >
>> > A "arecord --help" will tell users what switches are available for their
>> > particular version.  Providing the little indians don't get you, lol.
>> >
>> > Gena
>> >
>> >
>> >
>> > Blindness Advocacy and Self Help Online www.bashonline.org
>> >
>> > >
>> > >Hi Igor,
>> > >
>> > >The script I sent Greg, and which he resent, is not too
>> > >meaningful without a detailed commentary, and it is specific to
>> > >version 0.9.0beta11 of the alsa drivers. So if you just copy that
>> > >script it may or may not work for you.
>> > >
>> > >In general you need to use a bunch of options with arecord in
>> > >addition to naming the file you want to create. You need to
>> > >specify the sampling rate you want to use, the sample size, the
>> > >file type, how many channels to create, and the duration of the
>> > >recording you want to make. How you do all those things will vary
>> > >somewhat depending on your version of alsa. The documentation is
>> > >pretty skimpy, but it is all there in the man page if you have
>> > >the patience to tease it out.
>> > >
>> > >If you can tell us the alsa version you are using and show us the
>> > >command line you tried to use perhaps we can get more specific.
>> > >
>> > >Chuck
>> > >
>> > >On Wed, 17 Apr 2002, 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
>> > >>
>> > >
>> > >Visit me at http://www.valstar.net/~hallenbeck
>> > >The Moon is Waxing Crescent (28% of Full)
>> > >
>> > >
>> > >_______________________________________________
>> > >Speakup mailing list
>> > >Speakup@braille.uwo.ca
>> > >http://speech.braille.uwo.ca/mailman/listinfo/speakup
>> >
>> > _______________________________________________
>> > Speakup mailing list
>> > Speakup@braille.uwo.ca
>> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>> >
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
>Visit me at http://www.valstar.net/~hallenbeck
>The Moon is Waxing Crescent (32% of Full)
>
>
>_______________________________________________
>Speakup mailing list
>Speakup@braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: aplay/arecord start-up error
           ` 'Georgina'
@            ` 'Georgina'
  0 siblings, 0 replies; 11+ messages in thread
From: 'Georgina' @  UTC (permalink / raw)
  To: speakup

Hi

Sorry folks,  a bit slow and only half of the story.

Standing in the corner with the pointy hat with a "D", for an hour! lol.

Gena



Blindness Advocacy and Self Help Online www.bashonline.org

>Hi
>
>Using beta 10, my modules are located in /lib/modules/2.4.18/misc/
>
>Gena
>
>
>
>Blindness Advocacy and Self Help Online www.bashonline.org
>
>>Igor -
>>
>>It is possible that the names of the drivers may have changed.
>>They used to be called "snd-card-xxxx" but at least in beta11
>>they are now called "snd-xxxx" without the "card" part.
>>
>>Chuck
>>
>>
>>On Thu, 18 Apr 2002, Igor Gueths wrote:
>>
>>> Hi
>>> all. Now that I think about it, got another question. I got the alsa
>>> drivers/lib/utils version 0.9.0beta12, but I couldn't figure out where the
>>> drivers were placed. I am using beta 9 and using a start-up script that I
>>> wrote that loads the apropriate module at boot time. In terms of beta 12,
>>> I looked in /lib/modules/2.4.18/kernel/sound/acore. I looked in the isa
>>> directory, considering that I have an isa-pnp card, and the driver for my
>>> cs4236 wasn't present. With beta9, I just use modprobe to load the mods,
>>> and everything works perfectly. Any ideas of where the installer may have
>>> hidden those drivers lol! Thanks.  On Thu, 18 Apr 2002, 'Georgina' wrote:
>>>
>>> > Hi
>>> >
>>> > Glad that your requested the version number of the alsa driver as some of
>>> > the lines may produce interesting results.  I see that the -d (Duration) 
w
>as
>>> > set at 2 hours, that's a lot of disk space.
>>> >
>>> > Using alsa 09 beta 10 I use these lines:
>>> >
>>> > arecord -d 1800 <filename>.wav
>>> >
>>> > This will produce a 8 bit mono file of 14Mb of half an hour.
>>> >
>>> > arecord -f cd -d 1800 <filename>.wav
>>> >
>>> > Which will record a 16 bit stereo CD quality recording.  Can't remember t
h
>e
>>> > disk space used for this half an hour recording.
>>> >
>>> > A "arecord --help" will tell users what switches are available for their
>>> > particular version.  Providing the little indians don't get you, lol.
>>> >
>>> > Gena
>>> >
>>> >
>>> >
>>> > Blindness Advocacy and Self Help Online www.bashonline.org
>>> >
>>> > >
>>> > >Hi Igor,
>>> > >
>>> > >The script I sent Greg, and which he resent, is not too
>>> > >meaningful without a detailed commentary, and it is specific to
>>> > >version 0.9.0beta11 of the alsa drivers. So if you just copy that
>>> > >script it may or may not work for you.
>>> > >
>>> > >In general you need to use a bunch of options with arecord in
>>> > >addition to naming the file you want to create. You need to
>>> > >specify the sampling rate you want to use, the sample size, the
>>> > >file type, how many channels to create, and the duration of the
>>> > >recording you want to make. How you do all those things will vary
>>> > >somewhat depending on your version of alsa. The documentation is
>>> > >pretty skimpy, but it is all there in the man page if you have
>>> > >the patience to tease it out.
>>> > >
>>> > >If you can tell us the alsa version you are using and show us the
>>> > >command line you tried to use perhaps we can get more specific.
>>> > >
>>> > >Chuck
>>> > >
>>> > >On Wed, 17 Apr 2002, Igor Gueths wrote:
>>> > >
>>> > >> Hi all. I can play audio fine, however when I went to try to experimen
t
>>> > >> with arecord, I got the following: main 445: audio open error:
>>> > >> inapropriate ioctl for device. Anyone have any ideas as to what I coul
d
> be
>>> > >> missing or doing wrong? Thanks!
>>> > >>
>>> > >>
>>> > >> _______________________________________________
>>> > >> Speakup mailing list
>>> > >> Speakup@braille.uwo.ca
>>> > >> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>> > >>
>>> > >
>>> > >Visit me at http://www.valstar.net/~hallenbeck
>>> > >The Moon is Waxing Crescent (28% of Full)
>>> > >
>>> > >
>>> > >_______________________________________________
>>> > >Speakup mailing list
>>> > >Speakup@braille.uwo.ca
>>> > >http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>> >
>>> > _______________________________________________
>>> > Speakup mailing list
>>> > Speakup@braille.uwo.ca
>>> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>> >
>>>
>>>
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup@braille.uwo.ca
>>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>>
>>
>>Visit me at http://www.valstar.net/~hallenbeck
>>The Moon is Waxing Crescent (32% of Full)
>>
>>
>>_______________________________________________
>>Speakup mailing list
>>Speakup@braille.uwo.ca
>>http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>_______________________________________________
>Speakup mailing list
>Speakup@braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: aplay/arecord start-up error
@  Watson, Keith
  0 siblings, 0 replies; 11+ messages in thread
From: Watson, Keith @  UTC (permalink / raw)
  To: 'speakup@braille.uwo.ca'

Hi all,

Since we are posting arecord usage I thought my two cents might help some.

arecord -q -d 2820 -f cd -r44100 -c2 -I track1.raw track4.raw

I use this to record 47 minutes of, oh lets say a 4 track source, off a
standard tape deck. The point is that you can split the channels with the -I
switch, if you have a need.

Keith Watson
Sypris Electronics
Email:  Keith.Watson@sypris.com <mailto:Keith.Watson@sypris.com> 
Phone: (813) 972-6270
Fax #:  (813) 972-6842
 
 


-----Original Message-----
From: 'Georgina' [mailto:gena@gena-j.net]
Sent: Thursday, April 18, 2002 8:13 AM
To: speakup@braille.uwo.ca
Subject: Re: aplay/arecord start-up error 


Hi

Glad that your requested the version number of the alsa driver as some of
the lines may produce interesting results.  I see that the -d (Duration) was
set at 2 hours, that's a lot of disk space.

Using alsa 09 beta 10 I use these lines:

arecord -d 1800 <filename>.wav

This will produce a 8 bit mono file of 14Mb of half an hour.

arecord -f cd -d 1800 <filename>.wav

Which will record a 16 bit stereo CD quality recording.  Can't remember the
disk space used for this half an hour recording.

A "arecord --help" will tell users what switches are available for their
particular version.  Providing the little indians don't get you, lol.

Gena



Blindness Advocacy and Self Help Online www.bashonline.org

>
>Hi Igor,
>
>The script I sent Greg, and which he resent, is not too
>meaningful without a detailed commentary, and it is specific to
>version 0.9.0beta11 of the alsa drivers. So if you just copy that
>script it may or may not work for you.
>
>In general you need to use a bunch of options with arecord in
>addition to naming the file you want to create. You need to
>specify the sampling rate you want to use, the sample size, the
>file type, how many channels to create, and the duration of the
>recording you want to make. How you do all those things will vary
>somewhat depending on your version of alsa. The documentation is
>pretty skimpy, but it is all there in the man page if you have
>the patience to tease it out.
>
>If you can tell us the alsa version you are using and show us the
>command line you tried to use perhaps we can get more specific.
>
>Chuck
>
>On Wed, 17 Apr 2002, 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
>>
>
>Visit me at http://www.valstar.net/~hallenbeck
>The Moon is Waxing Crescent (28% of Full)
>
>
>_______________________________________________
>Speakup mailing list
>Speakup@braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup

_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 aplay/arecord start-up error Igor Gueths
 ` Gregory Nowak
 ` Charles Hallenbeck
   ` 'Georgina'
     ` Igor Gueths
       ` Charles Hallenbeck
         ` Igor Gueths
         ` 'Georgina'
           ` 'Georgina'
   ` Igor Gueths
 Watson, Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).