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: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Works For MeAssigned to: None
Originator Name: Chris PikeOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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');
octave-3.4.0:2>

Anonymous

 

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

Attach File(s):
   
   
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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Jul 2012 05:26:29 PM UTCrik5StatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Fri 29 Jun 2012 03:57:56 PM UTCrik5StatusNone=>Need Info
      SummaryWavread sample format not supported=>Wavread 24-bit sample format not supported
    Tue 26 Jun 2012 03:26:37 PM UTCNoneAttached File-=>Added noise_44100_16.wav, #26108

    Back to the top


    Powered by Savane 3.1-cleanup1