octave wavwrite() problems

Started by Randy Yates May 26, 2007
Hi Folks,

The octave newsgroup seems pretty dead, so I'm trying here.

I'm using octave 2.9.9 on 

[yates@localhost inp]$ uname -a
Linux localhost.localdomain 2.6.20-1.2948.fc6 #1 SMP Fri Apr 27 19:18:54 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux

and I'm experiencing two problems with wavwrite():

  1. The parameter order changed between version 2.9.8 and 2.9.9. This is
  not really a problem, but may be noteworthy.

  2. wavwrite() doesn't seem to be able to create a valid .wav file:

  [yates] octave

  [yates] play test.wav
  sox: Failed reading test.wav: WAVE header not found

What's up with this? 

This was working before in 2.9.8 (or was it 2.9.7).
%  Randy Yates                  % "...the answer lies within your soul
%% Fuquay-Varina, NC            %       'cause no one knows which side
%%% 919-577-9882                %                   the coin will fall."
%%%% <yates@ieee.org>           %  'Big Wheels', *Out of the Blue*, ELO