[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wavwrite
From: |
Robert A. Macy |
Subject: |
Re: wavwrite |
Date: |
Tue, 09 Oct 2007 08:15:12 -0700 |
My wavwrite is EXACTLY like Matlab.
>> wavwrite(signal,sf,bits,"filename.wav");
PLUS, I routinely have been using it to write 24 bit wav
files and routinely using wavread to read 24 bit files,
again, in the same order:
>> [signal, sf, bits]=wavread("filename.wav");
What's the problem?
Robert
On Tue, 9 Oct 2007 09:39:13 +0200
"Schirmacher, Rolf" <address@hidden>
wrote:
>
> Hello,
>
> I just found some incompatibility in between octave an
> matlab for wavwrite.
>
> Octave wants to get the filename first, Matlab last. So
> we have
> wavwrite(filename, signal, fs, bits) in Octave and
> wavwrite(signal, fs, bits, filename) in Matlab.
>
> Changing it would be straight forward (as far as I
> see...), but it would
> break existing Octave code :-(
>
> So, how to proceed?
>
> Rolf
>
> BTW, there are some more differences: 24 bit is currently
> not supported in
> octave and 32 bit is implemented as 32 bit integer.
> Matlab has 24 bit
> integer and 32 bit normalised floats. I regard this a
> minor issue as both
> seems to be correct / legal within the data format and
> would not really
> break code (except of giving an "unsupported" error for
> octave 24 bit).
- wavwrite, Schirmacher, Rolf, 2007/10/09
- Re: wavwrite, Søren Hauberg, 2007/10/09
- Re: wavwrite,
Robert A. Macy <=
- wavwrite, John W. Eaton, 2007/10/09