OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: panyo on January 24, 2005, 10:52:41 pm

Title: Breaking The Sound (recording) Barrier
Post by: panyo on January 24, 2005, 10:52:41 pm
There is a thread with an almost identical name in which people are describing their
limmited success with sound recording on the SL-5600. However, on my SL-5500,
I do not think I am getting as far.

I have not been able to listen to the  less than 60 seconds (this is a problem!) recordings I have made with Opie recorder, but I can see in the wave window that they are noise as I record them. I have tried three types of microphone. An unpowered old style Mac microphone gives regular, almost square pulses of noise. A mono SGI microphone gives a continuous stream of noise. And earbud or regular headphones give nothing.

Has anyone been able to record sound on an SL-5500 under OZ 3.5.2? Is gpe-soundbyte
doing any better?
Title: Breaking The Sound (recording) Barrier
Post by: leland on February 02, 2005, 02:49:29 pm
Have you tried using aplay from the command line? It is part of the alsa-utils packaged which IIRC is part of the base installation of OZ.

enter somethink like arecord -t 10 -w greatidea.wav and talk for 10 seconds (thats what the -t option gives you, 10 seconds)

does it work?

my guess is that the gpe or OZ recorders are front ends to arecord, but I don't know for sure.
Title: Breaking The Sound (recording) Barrier
Post by: panyo on February 05, 2005, 01:38:09 pm
Quote
enter somethink like arecord -t 10 -w greatidea.wav and talk for 10 seconds (thats what the -t option gives you, 10 seconds)

does it work?

my guess is that the gpe or OZ recorders are front ends to arecord, but I don't know for sure.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65195\"][{POST_SNAPBACK}][/a][/div]
Leland, thank you for the reply.
Does this work for you? I installed alsa-utils, which worked, except for a warning about
Code: [Select]
libgcc1 (>=3.4.2)which I seem to get on everything and which I think I saw somewhere can be ignored?
In any event, when I try the command you suggested, I get file format not found while attempting to record
and
Code: [Select]
audio open error: No such file or directory when trying to play back files I recorded with opie-recorder.
Title: Breaking The Sound (recording) Barrier
Post by: leland on February 08, 2005, 11:08:30 pm
Quote
In any event, when I try the command you suggested, I get file format not found while attempting to record

oops, I switched the extensions. Silly me! Try

Code: [Select]
arecord -d 10 -t wav MyGreatIdea.wav
Title: Breaking The Sound (recording) Barrier
Post by: panyo on February 09, 2005, 11:18:30 am
leland,

That makes sense- t for type not time
But I still get the same error. So for you this is working on a 5500?
Title: Breaking The Sound (recording) Barrier
Post by: endeey on February 09, 2005, 03:00:55 pm
Hmmm, I was following this thread, and tried the "arecord -d 10 -t wav  greatidea.wav " incantations. This results in "arecord: main:507: audio open error: No such device" So I went to /dev/snd/ and mknod'ed all the devices, which didn't change the error.  Then I noticed that there was no /proc/asound and lsmod returned no trace of a alsa module.  I am using 3.5.2 on a 5500, are there modules out there for alsa?  I googled and searched the openzaurus forum, and looked through the openzaurus.org feeds by hand for alsa, but found nothing promising. I would love to have some audio action on my Z.
-ND
Title: Breaking The Sound (recording) Barrier
Post by: Mickeyl on February 09, 2005, 03:52:45 pm
Alsa-support is a matter of the kernel. There is no alsa driver for any Zaurus kernel around. I hope people will write them for 2.6.

As for the matter of sound recording via OSS, it would need someone trying first to record/playback audio using the command line - to make sure it works at least driver level. After that, you should look into the applications in question and check if they're doing the right things.
Title: Breaking The Sound (recording) Barrier
Post by: endeey on February 09, 2005, 04:01:13 pm
If there are no modules compiled or otherwise for the Zaurus, are alsa-lib and alsa-oss even _supposed_ to do anything useful? Should they work?
-ND
Title: Breaking The Sound (recording) Barrier
Post by: endeey on February 09, 2005, 04:17:42 pm
Aaaannd, since I have spent this much time playing while at work, I might as well spend more... The post at https://www.oesf.org/forums/index.php?showt...87&hl=recording (https://www.oesf.org/forums/index.php?showtopic=7887&hl=recording)
clears things up for me.  It also gives some answers the original posters'questions. (Though ultimitely, opierecord seems to just be a little broken. Thus the answers are not all useful.) For those interested: a search on "recording" pulls some relevant postings from this forum.  
-ND
Title: Breaking The Sound (recording) Barrier
Post by: Mickeyl on February 09, 2005, 05:48:05 pm
No, alsa-lib and alsa-utils are not useful for any Zaurus atm. And before you ask... the reason why they are in the feed is that the feed is generated automatically and we don't have enough manpower to eliminate the few packages which are only useful on certain kernel and machine configurations. Remember that the OE metadata are for quite a number of different machines, i.e. almost all devices except the Zaurus have alsa drivers
Title: Breaking The Sound (recording) Barrier
Post by: zedkatuf2 on July 08, 2006, 02:08:25 pm
Quote
No, alsa-lib and alsa-utils are not useful for any Zaurus atm. And before you ask... the reason why they are in the feed is that the feed is generated automatically and we don't have enough manpower to eliminate the few packages which are only useful on certain kernel and machine configurations. Remember that the OE metadata are for quite a number of different machines, i.e. almost all devices except the Zaurus have alsa drivers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66334\"][{POST_SNAPBACK}][/a][/div]


Hi..I'm using 2.6.16 kernel with my 3200 & am wondering if anyone has this working?

..I've tried a little bit, but so far no joy...just silence when I playback using aplay
Title: Breaking The Sound (recording) Barrier
Post by: zedkatuf2 on July 26, 2006, 04:07:36 am
Quote
Hi..I'm using 2.6.16 kernel with my 3200 & am wondering if anyone has this working?

..I've tried a little bit, but so far no joy...just silence when I playback using aplay
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134353\"][{POST_SNAPBACK}][/a][/div]


UPDATE: Now working, but only with the left earpiece of a headset.  Microphone might need to be re-wired