help-octave
[Top][All Lists]
Advanced

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

Re: New wavread available


From: Robert A. Macy
Subject: Re: New wavread available
Date: Mon, 09 May 2005 21:53:09 -0700

Suggestion:  around line 19, add 
return;
after the test for .wav file incase you need to bail.


Note: running octave 2.1.50a-inst.exe on Win98...
Even after adding the return statement, I keep getting an
error that my files aren't .wav files.  Perhaps, my old
octave isn't compatible with your new language.  

My wav files are simple, one channel, uncompressed data.
 Even auload didn't like the header on my 24 bit file.  
Plus, your "wavread.m" or auload after failing to open my
wav files kept "hold" of the wav file and wouldn't let me
delete the wav file until I exited from octave.  

Perhaps, this is an example of "out of date" octave?

Does the new octave open a file in binary mode without
setting the 'rb' instead of 'r' ??  Nothing worked right
for me until this was straightened out by John Eaton.  

Doug, I'll send you off line the two files I've been using
for several years now.  Those two files create AND read the
24 bit files to/from sound cards, all compatible.  

            - Robert -

On Mon, 09 May 2005 19:19:23 -0500
 Doug Stewart <address@hidden> wrote:
> With help fro the list  (Hall, Benjamin)  I think the new
> wavread is ready :-)
> 
> I have tried it on many wav files  and the only ones that
> don't work are the compressed data ones.
> 
> Could a someone test this on some wav files,  and if
> there is no problems then it could be put into Octave.
> I will then add it to auload.m
> http://dougs.homeip.net/octave/wavread.m
> 
> 
> 
>
-------------------------------------------------------------
> Octave is freely available under the terms of the GNU
> GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:
>  http://www.octave.org/funding.html
> Subscription information:
>  http://www.octave.org/archive.html
>
-------------------------------------------------------------
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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