help-octave
[Top][All Lists]
Advanced

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

wavwrite


From: Schirmacher, Rolf
Subject: wavwrite
Date: Tue, 9 Oct 2007 09:39:13 +0200

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).


reply via email to

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