Randy Yates
2007-03-02 16:33:07 UTC
The wavwrite() function requires an signal vector in the range [-1,+1]
in both matlab and octave, and both must quantize this signal vector
before output to the file. Apparently octave uses the convention that
1 corresponds to 32767, while matlab uses the convention that 1
corresponds to 32768. This ought to be corrected so that consistent
results are produced.
octave:25> version
ans = 2.9.8
in both matlab and octave, and both must quantize this signal vector
before output to the file. Apparently octave uses the convention that
1 corresponds to 32767, while matlab uses the convention that 1
corresponds to 32768. This ought to be corrected so that consistent
results are produced.
octave:25> version
ans = 2.9.8
--
% Randy Yates % "Remember the good old 1980's, when
%% Fuquay-Varina, NC % things were so uncomplicated?"
%%% 919-577-9882 % 'Ticket To The Moon'
%%%% <***@ieee.org> % *Time*, Electric Light Orchestra
http://home.earthlink.net/~yatescr
% Randy Yates % "Remember the good old 1980's, when
%% Fuquay-Varina, NC % things were so uncomplicated?"
%%% 919-577-9882 % 'Ticket To The Moon'
%%%% <***@ieee.org> % *Time*, Electric Light Orchestra
http://home.earthlink.net/~yatescr