Menu

#72 Improve WAV handler's treatment of non-audio chunks

open
nobody
None
5
2020-05-28
2006-12-24
No

WAV handler needs to handle (ignore if nothing else) non-audio chunks (except LIST which is already handled), especially at the end of the file.

Discussion

  • Reuben Thomas

    Reuben Thomas - 2007-01-27

    Logged In: YES
    user_id=50145
    Originator: YES

    Ignoring is now done. We still ideally need to copy chunks we don't understand through to the output file when it is also a WAV.

     
  • Reuben Thomas

    Reuben Thomas - 2007-04-10

    Logged In: YES
    user_id=50145
    Originator: YES

    Actually ignoring wasn't done. See bug #1667958.

     
  • Reuben Thomas

    Reuben Thomas - 2007-04-10

    Logged In: YES
    user_id=50145
    Originator: YES

    Ignoring is now done, but I'm leaving this feature request open because we also need to copy non-audio chunks when changing a WAV file. It seems like we need some general mechanism for collecting and then rewriting out-of-band data, like MP3 and Ogg comments, and non-audio WAV chunks.

     
  • Johan Althoff

    Johan Althoff - 2008-06-25

    Logged In: YES
    user_id=839326
    Originator: NO

    I would love for this to happen, since I have yet to find a batch converter that doesn't explode on drag-dropping 13,485 files on win32 =)

     
  • Johan Althoff

    Johan Althoff - 2008-06-25

    Logged In: YES
    user_id=839326
    Originator: NO

    To clarify: I have extra data (markers and regions, in this case) that need to survive batch processing such as normalization or channel magic.

     
  • Jeff Learman

    Jeff Learman - 2020-05-28

    I want sox to preserve "smpl" chunks, which are used by musical instrument sample players to hold looping information. SoX currently ignores/deletes it. (Ideally it should be interpreted and duplicated for any algorithm that preserves time, but that would be another ticket.)

    It would be reasonable to have a command line option for specifying names of chunks to preserve, rather than preserving all by default.

    It would also be very helpful, either by default or on option, to list all chunks present that will be ignored (omitted).

    BTW, "smpl" chunks are supported in FLAC format also, so this is not limited to WAV.

     

    Last edit: Jeff Learman 2020-05-28

Log in to post a comment.

MongoDB Logo MongoDB