Author Topic: Breaking The Sound (recording) Barrier  (Read 4531 times)

panyo

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
Breaking The Sound (recording) Barrier
« 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?
SL5500  OZ3.5.2 (Opie), Dvorak built in keyboard
Spectrum24 Ethernet
SanDisk 256 ext2 (AR0401RF China) SD
Lexar 256 VFAT (P/N 2260, Rev. A), Transcend 128 ext2 CF
Pismo, Cube, 8600, Gentoo PowerPC, YellowDog

leland

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Breaking The Sound (recording) Barrier
« Reply #1 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.
SL-6000L

panyo

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
Breaking The Sound (recording) Barrier
« Reply #2 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.
« Last Edit: February 05, 2005, 01:39:18 pm by panyo »
SL5500  OZ3.5.2 (Opie), Dvorak built in keyboard
Spectrum24 Ethernet
SanDisk 256 ext2 (AR0401RF China) SD
Lexar 256 VFAT (P/N 2260, Rev. A), Transcend 128 ext2 CF
Pismo, Cube, 8600, Gentoo PowerPC, YellowDog

leland

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Breaking The Sound (recording) Barrier
« Reply #3 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
« Last Edit: February 08, 2005, 11:09:10 pm by leland »
SL-6000L

panyo

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
Breaking The Sound (recording) Barrier
« Reply #4 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?
« Last Edit: February 09, 2005, 11:19:16 am by panyo »
SL5500  OZ3.5.2 (Opie), Dvorak built in keyboard
Spectrum24 Ethernet
SanDisk 256 ext2 (AR0401RF China) SD
Lexar 256 VFAT (P/N 2260, Rev. A), Transcend 128 ext2 CF
Pismo, Cube, 8600, Gentoo PowerPC, YellowDog

endeey

  • Newbie
  • *
  • Posts: 14
    • View Profile
Breaking The Sound (recording) Barrier
« Reply #5 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

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Breaking The Sound (recording) Barrier
« Reply #6 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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

endeey

  • Newbie
  • *
  • Posts: 14
    • View Profile
Breaking The Sound (recording) Barrier
« Reply #7 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

endeey

  • Newbie
  • *
  • Posts: 14
    • View Profile
Breaking The Sound (recording) Barrier
« Reply #8 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
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

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Breaking The Sound (recording) Barrier
« Reply #9 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
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
Breaking The Sound (recording) Barrier
« Reply #10 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
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
Breaking The Sound (recording) Barrier
« Reply #11 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
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.