[Pkg-octave-devel] Bug#408268: marked as done (octave2.9-forge: wavwrite writes invalid WAV files)

Thomas Weber thomas.weber.mail at gmail.com
Sun Feb 4 20:44:23 CET 2007


Hi, 

Am Sonntag, den 04.02.2007, 10:48 -0800 schrieb Debian Bug Tracking
System:
> > According to the documentation:
> > 
> > octave2.9:1> help wavwrite
> >  -- Function File:  wavwrite(FILENAME, Y)
> >      Write Y to the canonical RIFF/WAVE sound file FILENAME. A sample
> >      rate of 8000 Hz and 16-bit samples are assumed. Each column of the
> >      data represents a separate channel.
> > 
> > your input matrix must be organized in columns.  The following code should
> > do what you want:
> > 
> > x = randn(65536, 1);
> > wavwrite('noise.wav', x)
> > 
> > I am therefore closing this bug report.

Eh, in that case a file with only one channel should be written,
shouldn't it? I'm working on this (sorry, I had to meet a deadline with
a paper).

	Thomas





More information about the Pkg-octave-devel mailing list