bugGNU Octave - Bugs: bug #36733, Wavread 24-bit sample format not...


bug #36733: Wavread 24-bit sample format not supported

Submitted by:  None
Submitted on:  Tue 26 Jun 2012 03:26:37 PM UTC  
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Works For Me Assigned to:  None
Originator Name:  Chris Pike Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.4.0
Operating System:  Mac OS

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 29 Jun 2012 04:17:05 PM UTC, comment #2: 

I just converted your 16-bit file to 24-bits using Audacity and it loads correctly using Octave-3.6.2.  I checked, in particular, by using the extra output argument form of wavread and it got the bits_per_sample correct at 24.

Rik <rik5>
Project Administrator
Fri 29 Jun 2012 03:57:56 PM UTC, comment #1: 

Could you upload the problem file so that it can be tested?  Currently there is only a 16-bit file attached to the bug report and it loads correctly.

Rik <rik5>
Project Administrator
Tue 26 Jun 2012 03:26:37 PM UTC, original submission:  

The wavread function appears not to support any sample formats other than 16-bit. I had this error in v3.2.4 and v3.4.0.
octave-3.4.0:1> [audio fs bits] = wavread('~/Music/noise_44100_24.wav');
error: wavread: sample format 0xfffe is not supported
error: called from:
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/audio/wavread.m at line 111, column 5
octave-3.4.0:1> [audio fs bits] = wavread('~/Music/noise_44100_16.wav');



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #26108:  noise_44100_16.wav added by None (1MiB - audio/wav)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-07-06 rik5 StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2012-06-29 rik5 StatusNone => Need Info
        SummaryWavread sample format not supported => Wavread 24-bit sample format not supported
    2012-06-26 None Attached File- => Added noise_44100_16.wav, #26108

    Back to the top

    Powered by Savane 3.5