On Mon, 4 Sep 2023 12:33:42 +0200 Fons Adriaensen <fons@xxxxxxxxxxxxxx> wrote: >On Mon, Sep 04, 2023 at 10:35:02AM +0100, Will Godfrey wrote: > >> Can anyone suggest a program that can edit metadata in 24bit wav files. >> It seems Picard treats these as faulty - all the music players have no problems. > >I assume that 'metadata' refers to the header. > >No idea if the problem is with Picard or the files, but I suspect >something along these lines: > >- There are (at least) two formats known as .wav files: WAV and > WAVEX. > >- The original WAV header format was badly designed and resulted in > lots of proprietary extensions and 'improvements'. > >- Many years ago M$ tried to clean up the messs by creating the > WAVEX format. > >- From then on, according to M$ standards, anything using more than > 2 channels or 16 bits MUST use the WAVEX format. > >I suspect you could have some 24-bit files using the WAV format which >are technically 'defect'. There is still software around creating those. > >The way to find out is to look at an hex dump of the header. Maybe you >could post one - the first 256 bytes will do. > >Ciao, > Thanks Fons - didn't think of that! 00000000 52 49 46 46 3c b7 1f 04 57 41 56 45 66 6d 74 20 |RIFF<...WAVEfmt | 00000000 52 49 46 46 3c b7 1f 04 57 41 56 45 66 6d 74 20 |RIFF<...WAVEfmt | 00000010 10 00 00 00 01 00 02 00 80 bb 00 00 00 65 04 00 |.............e..| 00000010 10 00 00 00 01 00 02 00 80 bb 00 00 00 65 04 00 |.............e..| 00000020 06 00 18 00 64 61 74 61 cc b5 1f 04 00 00 00 ff |....data........| 00000020 06 00 18 00 64 61 74 61 cc b5 1f 04 00 00 00 ff |....data........| 00000030 ff ff 00 00 00 ff ff ff 00 00 00 ff ff ff 00 00 |................| So they're marked (wrongly?) as WAVE. The fact they contain the metadata might suggest they are actually WAVEX However this doesn't show in a readable form in the first 1024 bytes. -- Will J Godfrey {apparently now an 'elderly'} https://willgodfrey.bandcamp.com/ http://yoshimi.github.io Say you have a poem and I have a tune. Exchange them and we can both have a poem, a tune, and a song. _______________________________________________ Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx