Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: WAV tagging creates 2nd id3 chunk (Read 4378 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WAV tagging creates 2nd id3 chunk

Hi,

WAV tagging in foobar2000 (1.2.6) creates a second "id3" chunk.


Wavelab 8, after loading the .wav file without any tags, and added the value "ABB" to TPE1:

Code: [Select]
00000000h: 52 49 46 46 AA F0 21 02 57 41 56 45 4A 55 4E 4B; RIFFªð!.WAVEJUNK
00000010h: 1C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00; ................
00000020h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00; ................
00000030h: 66 6D 74 20 10 00 00 00 01 00 02 00 44 AC 00 00; fmt ........D¬..
00000040h: 10 B1 02 00 04 00 10 00 69 64 33 20 1A 00 00 00; .±......id3 ....
00000050h: 49 44 33 03 00 00 00 00 00 0F 54 50 45 31 00 00; ID3.......TPE1..
00000060h: 00 05 00 00 00 41 42 42 00 00 64 61 74 61 40 F0; .....ABB..data@ð
00000070h: 21 02 00 00 00 00 00 00 02 00 02 00 00 00 FD FF; !.............ýÿ
00000080h: FE FF FE FF FF FF FF FF 02 00 FC FF FF FF 01 00; þÿþÿÿÿÿÿ..üÿÿÿ..


Wavelab8 stores the ID3 chunk at the beginning, not at the end of the file.

---

Then I loaded the track into foobar2000 (1.2.6) and updated TPE1 with "ABBA":

Code: [Select]
00000000h: 52 49 46 46 D4 F0 21 02 57 41 56 45 4C 49 53 54; RIFFÔð!.WAVELIST
00000010h: 12 00 00 00 49 4E 46 4F 49 41 52 54 05 00 00 00; ....INFOIART....
00000020h: 41 42 42 41 00 00 4A 55 4E 4B 02 00 00 00 00 00; ABBA..JUNK......
00000030h: 66 6D 74 20 10 00 00 00 01 00 02 00 44 AC 00 00; fmt ........D¬..
00000040h: 10 B1 02 00 04 00 10 00 4A 55 4E 4B 1A 00 00 00; .±......JUNK....
00000050h: 49 44 33 03 00 00 00 00 00 0F 54 50 45 31 00 00; ID3.......TPE1..
00000060h: 00 05 00 00 00 41 42 42 00 00 64 61 74 61 40 F0; .....ABB..data@ð
00000070h: 21 02 00 00 00 00 00 00 02 00 02 00 00 00 FD FF; !.............ýÿ
00000080h: FE FF FE FF FF FF FF FF 02 00 FC FF FF FF 01 00; þÿþÿÿÿÿÿ..üÿÿÿ..
00000090h: 00 00 00 00 02 00 FF FF 00 00 FE FF 00 00 00 00; ......ÿÿ..þÿ....


The "id3" chunk TPE1 is unchanged, but foobar2000 has created a 2nd "id3" chunk at the end of the file:

Code: [Select]
0221f0b0h: FF FF 69 64 33 20 22 00 00 00 49 44 33 03 00 00; ÿÿid3 "...ID3...
0221f0c0h: 00 00 00 17 54 50 45 31 00 00 00 0D 00 00 01 FF; ....TPE1.......ÿ
0221f0d0h: FE 41 00 42 00 42 00 41 00 00 00 00            ; þA.B.B.A....


which is a bug.

---

After that I re-opened the track in Wavelab 8 and updated TPE1 with "AB" (btw. the old value shown was "ABBA" - maybe overwritten during the loading from the second "id3" chunk).

Code: [Select]
00000000h: 52 49 46 46 C2 F0 21 02 57 41 56 45 4A 55 4E 4B; RIFFÂð!.WAVEJUNK
00000010h: 1C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00; ................
00000020h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00; ................
00000030h: 66 6D 74 20 10 00 00 00 01 00 02 00 44 AC 00 00; fmt ........D¬..
00000040h: 10 B1 02 00 04 00 10 00 69 64 33 20 18 00 00 00; .±......id3 ....
00000050h: 49 44 33 03 00 00 00 00 00 0E 54 50 45 31 00 00; ID3.......TPE1..
00000060h: 00 04 00 00 00 41 42 00 64 61 74 61 40 F0 21 02; .....AB.data@ð!.
00000070h: 00 00 00 00 00 00 02 00 02 00 00 00 FD FF FE FF; ............ýÿþÿ


Wavelab 8 has removed the second "id3" chunk (correctly).

Please fix it for 1.2.7 - THANKS.

WAV tagging creates 2nd id3 chunk

Reply #1
Ooops ... sorry .. all correct - just saw that the chunk name is JUNK created by foobar2000 ... sorry - too late.