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

 
 

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

Submitter:  None
Submitted:  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 Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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');
octave-3.4.0:2>

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-4448.
    Corresponding source code