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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Logged In: YES
user_id=50145
Originator: YES
Actually ignoring wasn't done. See bug #1667958.
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.
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 =)
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.
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