Problems with wavread on 64-bit linux box

View: New views
2 Messages — Rating Filter:   Alert me  

Problems with wavread on 64-bit linux box

by OT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When reading wav file on 64bit Fedora wavread reports problems; same wav file can be opened with wavread without any problems on a 32bit platform.

Version: GNU Octave, version 2.9.9 (x86_64-redhat-linux-gnu).

'uname -a': Linux host.domain.com 2.6.22.4-65.fc7 #1 SMP Tue Aug 21 21:50:50 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

'file test.wav':
test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 16000 Hz


wavread reports
octave:1> x=wavread('/data/tmp/w-data/original_mono/test.wav');
error: wavread: sample format 0x3e80 is not supported
error: evaluating if command near line 91, column 3
error: called from `wavread' in file `/usr/share/octave/2.9.9/m/audio/wavread.m'
error: evaluating assignment expression near line 1, column 2


wavread will read the same file without any problems on a 32bit box.



Problems with wavread on 64-bit linux box

by John W. Eaton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 14-May-2008, OT wrote:

| When reading wav file on 64bit Fedora wavread reports problems; same wav file
| can be opened with wavread without any problems on a 32bit platform.
|
| Version: GNU Octave, version 2.9.9 (x86_64-redhat-linux-gnu).
|
| 'uname -a': Linux host.domain.com 2.6.22.4-65.fc7 #1 SMP Tue Aug 21 21:50:50
| EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
|
| 'file test.wav':
| test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono
| 16000 Hz
|
|
| wavread reports
| octave:1> x=wavread('/data/tmp/w-data/original_mono/test.wav');
| error: wavread: sample format 0x3e80 is not supported
| error: evaluating if command near line 91, column 3
| error: called from `wavread' in file
| `/usr/share/octave/2.9.9/m/audio/wavread.m'
| error: evaluating assignment expression near line 1, column 2
|
|
| wavread will read the same file without any problems on a 32bit box.

Octave 2.9.9 is obsolete.  The current stable version is 3.0.1.  I
strongly encourage you to upgrade.   If the problem persists, then
please submit another bug report.

jwe
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave