bugGNU Octave - Bugs: bug #36845, wavread() to support 0xFFFE format...

 
 

bug #36845: wavread() to support 0xFFFE format chunks

Submitted by:  None
Submitted on:  Fri 13 Jul 2012 06:22:07 PM UTC  
 
Category: Octave FunctionSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Keith W. GodinOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 21 Feb 2015 05:32:49 PM UTC, comment #3:

The wavread function is now a wrapper around audioread, and the attached file can be read properly with wavread now. Closing as fixed.

Mike Miller <mtmiller>
Project Administrator
Mon 12 Jan 2015 02:33:15 AM UTC, comment #2:

The attached file can be read into Octave now with the new audioread function. The wavread function does not handle it yet, but wavread should probably be rewritten now to be a wrapper around audioread.

Mike Miller <mtmiller>
Project Administrator
Sun 19 Jan 2014 08:37:03 PM UTC, comment #1:

Confirmd, still a problem with wavread in the development version of Octave. There was work done recently to open audio files with libsndfile. Once that work is merged into the development Octave repository, we can revisit this feature request and see what needs to be done to get this format working with libsndfile support.

Mike Miller <mtmiller>
Project Administrator
Fri 13 Jul 2012 06:22:07 PM UTC, original submission:

wavread() supports RIFF Wave files with format chunks 0x0001 (PCM) and 0x0003 (FLOAT). This feature request is for support for format chunk 0xFFFE (WAVE_FORMAT_EXTENSIBLE). This format is written and read by a number of common audio utilities including sox, Audacity, and Audition, and inclusion of this feature would improve interoperability with those utilities and the general audio ecosystem.

The format appears when Wave files are written with more than 24 bits/sample, more than 2 channels, and in other cases.

The following page describes the format chunk and includes references to Wave spec documents from Microsoft:
http://www-mmsp.ece.mcgill.ca/documents/audioformats/wave/wave.html

The following bug is related, but was closed without resolution of the underlying problem: https://savannah.gnu.org/bugs/?36733
The resolution in that case was to use Audacity to open and close the file, because Audacity will write 24 bit Waves with WAVE_FORMAT_PCM instead of EXTENSIBLE.

A file in the format is attached. The error when loading the attached file is:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #26198:  24bit_test_wav.wav added by None (220KiB - audio/wav - Example of file in format that fails to load in Octave.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 21 Feb 2015 05:32:49 PM UTCmtmillerStatusPostponed=>Fixed
      Open/ClosedOpen=>Closed
    Sun 19 Jan 2014 08:37:03 PM UTCmtmillerCategoryNone=>Octave Function
      Severity3 - Normal=>1 - Wish
      StatusNone=>Postponed
      Release3.6.2=>dev
    Fri 13 Jul 2012 06:22:07 PM UTCNoneAttached File-=>Added 24bit_test_wav.wav, #26198

    Back to the top


    Powered by Savane 3.1-cleanup1