[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: sound on FC6 x86_64

From: federico oreilly regueiro
Subject: Re: Re: sound on FC6 x86_64
Date: Fri, 09 Feb 2007 01:43:39 -0500

Hi, I guess I jumped the gun on protocol and replied directly, newbie
So, through the list and much more complete: Thanks Quentin. It's good
to know that the sound function works fine on FC i386, if worst comes to
worst, I can always install that, which is much more stable anyways.
In regards to the problem being with the drivers, I don't think so; it's
been a little bit of a headache but I finally sorted out the drivers for
the 2 sound cards I have installed on my system. auplay (sorry, before I
wrote aplay) says the magic number on the file is not a Sun NeXt number,
and play (which I guess uses sox) actually says that the header size is
too small. I found a page ( with
the header info for Sun NeXt audio files but I don't know how I could
possibly dump that from the octave sound() funcion; besides, the
original function, which reportedly works, looks rather simple when
compared to the options for the header. 

Here's the first part of what sound() wrote for a mono (fs)44100 Hz
sound (I don't know what bit rate):
0000000 ac44 0000 0000 0000 0001 0000 0000 0000
0000010 0804 1001 17ee 1fc2 2777 2f04 3661 3d88
0000020 4471 4b16 516e 5775 5d24 6275 6763 6be9
0000030 7003 73ac 76e1 799e 7be1 7da7 7eee 7fb7
0000040 7ffe 7fc5 7f0c 7dd2 7c1a 79e6 7736 740f

Here's the first part of a file that sox considers to be a valid AU
file, this one is also mono, but (fs)8000 Hz and 8 bits u-law:
0000000 732e 646e 0000 2000 0000 a55b 0000 0100
0000010 0000 401f 0000 0100 0000 0000 0000 0000
0000020 6767 e7e7 d3e7 cdcd e7e7 5b67 675b 675b
0000030 e7e7 dbdb dbdb ffe7 5b5b 675b d3e7 d3d3

For starters, if I understand correctly, the first four characters
should be '.snd'. I don't read hex, but I can see they're different on
both files, then the rest... well I really can't read it but I'd greatly
appreciate any help. If I can find whatever isn't working in my setup
+the sound function, I'll be a happier man.
Thanks and cheers, have a good day.

> federico oreilly regueiro wrote:
> > Hi,
> > I emailed the list a few days ago, but I wasn't actually subscribed.
> > I'm using Octave 2.9.9 on a Fedora 6 86_64 distribution installed on a
> > Turion 64 laptop. I cant sound() vectors. The message I get is broken
> > pipe. I went so far as to change the function to use aplay and the same
> > thing happens. I managed to write the vectors as oposed to play them
> > from within the function and if I try to run them externally aplay says
> > it's not an au file. Could this have something to do with the 64 bit
> > processor and the heading?
> > Any help would be much appreciated.
> >   
> I've never used sound before, but I thought I'd try it to see if it was 
> anything Fedora specific. I'm using FC6 i386, and it works. It could be 
> a 64-bit thing, but it could also be a soundcard driver configuration 
> problem.
> Quentin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]