From help-request at octave dot org Tue May 24 16:40:44 2005 Subject: Audio problem with octave From: =?windows-1252?Q?Luk=E1=9A_Oliva?= To: help at octave dot org Date: Tue, 24 May 2005 23:38:38 +0200 Hi, I am running Octave 2.1.69 on Debian sid and I experience problems with sound playing. I think the problem is in sox. I am able to use wavread or wavwrite or ausave. Problem appears if I try soundsc or auload and it is allways same octave:1> [x, fs] = wavread("/usr/share/sounds/KDE_Startup.wav"); warning: in fopen near line 13, column 5: warning: fopen: default open mode is now binary Input file '/usr/share/sounds/KDE_Startup.wav' is RIFF format: Total length = 365220 bytes Number of channels = 1 Sampling rate = 22050 Hz Data length = 182592 samples octave:2> soundsc (x) playing - sox: Failed reading -: Sun/NeXT header size too small. warning: broken pipe -- some output may be lost octave:3> auload ("/usr/share/sounds/KDE_Startup.wav") error: Invalid audio header: /usr/share/sounds/KDE_Startup.wav error: evaluating if command near line 88, column 5 error: evaluating if command near line 69, column 3 error: called from `auload' in file `/usr/share/octave/site/m/octave-forge/audio/auload.m' Don't you have any idea why it does not work? I would be gratefull for any help. Thanks Lukas ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------