octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36845] wavread() to support 0xFFFE format chu


From: anonymous
Subject: [Octave-bug-tracker] [bug #36845] wavread() to support 0xFFFE format chunks
Date: Fri, 13 Jul 2012 18:22:08 +0000
User-agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

URL:
  <http://savannah.gnu.org/bugs/?36845>

                 Summary: wavread() to support 0xFFFE format chunks
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 13 Jul 2012 06:22:07 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Keith W. Godin
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: Any

    _______________________________________________________

Details:

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:

error: wavread: sample format 0xfffe is not supported
error: called from:
error:   /usr/share/octave/3.6.2/m/audio/wavread.m at line 110, column 7




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 13 Jul 2012 06:22:07 PM UTC  Name: 24bit_test_wav.wav  Size: 220kB  
By: None
Example of file in format that fails to load in Octave.
<http://savannah.gnu.org/bugs/download.php?file_id=26198>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36845>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]