id3 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2025 @@
1
+
2
+ Informal standard M. Nilsson
3
+ Document: id3v2.3.0.txt 3rd February 1999
4
+
5
+
6
+ ID3 tag version 2.3.0
7
+
8
+ Status of this document
9
+
10
+ This document is an informal standard and replaces the ID3v2.2.0
11
+ standard [ID3v2]. The informal standard is released so that
12
+ implementors could have a set standard before a formal standard is
13
+ set. The formal standard will use another version or revision number
14
+ if not identical to what is described in this document. The contents
15
+ in this document may change for clarifications but never for added or
16
+ altered functionallity.
17
+
18
+ Distribution of this document is unlimited.
19
+
20
+
21
+ Abstract
22
+
23
+ This document describes the ID3v2.3.0, which is a more developed
24
+ version of the ID3v2 informal standard [ID3v2] (version 2.2.0),
25
+ evolved from the ID3 tagging system. The ID3v2 offers a flexible way
26
+ of storing information about an audio file within itself to determine
27
+ its origin and contents. The information may be technical
28
+ information, such as equalisation curves, as well as related meta
29
+ information, such as title, performer, copyright etc.
30
+
31
+
32
+ 1. Table of contents
33
+
34
+ 2. Conventions in this document
35
+ 3. ID3v2 overview
36
+ 3.1. ID3v2 header
37
+ 3.2. ID3v2 extended header
38
+ 3.3. ID3v2 frames overview
39
+ 3.3.1. Frame header flags
40
+ 3.3.2. Default flags
41
+ 4. Declared ID3v2 frames
42
+ 4.1. Unique file identifier
43
+ 4.2. Text information frames
44
+ 4.2.1. Text information frames - details
45
+ 4.2.2. User defined text information frame
46
+ 4.3. URL link frames
47
+ 4.3.1. URL link frames - details
48
+ 4.3.2. User defined URL link frame
49
+ 4.4. Involved people list
50
+ 4.5. Music CD Identifier
51
+ 4.6. Event timing codes
52
+ 4.7. MPEG location lookup table
53
+ 4.8. Synced tempo codes
54
+ 4.9. Unsychronised lyrics/text transcription
55
+ 4.10. Synchronised lyrics/text
56
+ 4.11. Comments
57
+ 4.12. Relative volume adjustment
58
+ 4.13. Equalisation
59
+ 4.14. Reverb
60
+ 4.15. Attached picture
61
+ 4.16. General encapsulated object
62
+ 4.17. Play counter
63
+ 4.18. Popularimeter
64
+ 4.19. Recommended buffer size
65
+ 4.20. Audio encryption
66
+ 4.21. Linked information
67
+ 4.22. Position synchronisation frame
68
+ 4.23. Terms of use
69
+ 4.24. Ownership frame
70
+ 4.25. Commercial frame
71
+ 4.26. Encryption method registration
72
+ 4.27. Group identification registration
73
+ 4.28. Private frame
74
+ 5. The 'unsynchronisation scheme'
75
+ 6. Copyright
76
+ 7. References
77
+ 8. Appendix
78
+ A. Appendix A - Genre List from ID3v1
79
+ 9. Author's Address
80
+
81
+
82
+ 2. Conventions in this document
83
+
84
+ In the examples, text within "" is a text string exactly as it
85
+ appears in a file. Numbers preceded with $ are hexadecimal and
86
+ numbers preceded with % are binary. $xx is used to indicate a byte
87
+ with unknown content. %x is used to indicate a bit with unknown
88
+ content. The most significant bit (MSB) of a byte is called 'bit 7'
89
+ and the least significant bit (LSB) is called 'bit 0'.
90
+
91
+ A tag is the whole tag described in this document. A frame is a block
92
+ of information in the tag. The tag consists of a header, frames and
93
+ optional padding. A field is a piece of information; one value, a
94
+ string etc. A numeric string is a string that consists of the
95
+ characters 0-9 only.
96
+
97
+
98
+ 3. ID3v2 overview
99
+
100
+ The two biggest design goals were to be able to implement ID3v2
101
+ without disturbing old software too much and that ID3v2 should be
102
+ as flexible and expandable as possible.
103
+
104
+ The first criterion is met by the simple fact that the MPEG [MPEG]
105
+ decoding software uses a syncsignal, embedded in the audiostream, to
106
+ 'lock on to' the audio. Since the ID3v2 tag doesn't contain a valid
107
+ syncsignal, no software will attempt to play the tag. If, for any
108
+ reason, coincidence make a syncsignal appear within the tag it will
109
+ be taken care of by the 'unsynchronisation scheme' described in
110
+ section 5.
111
+
112
+ The second criterion has made a more noticeable impact on the design
113
+ of the ID3v2 tag. It is constructed as a container for several
114
+ information blocks, called frames, whose format need not be known to
115
+ the software that encounters them. At the start of every frame there
116
+ is an identifier that explains the frames' format and content, and a
117
+ size descriptor that allows software to skip unknown frames.
118
+
119
+ If a total revision of the ID3v2 tag should be needed, there is a
120
+ version number and a size descriptor in the ID3v2 header.
121
+
122
+ The ID3 tag described in this document is mainly targeted at files
123
+ encoded with MPEG-1/2 layer I, MPEG-1/2 layer II, MPEG-1/2 layer III
124
+ and MPEG-2.5, but may work with other types of encoded audio.
125
+
126
+ The bitorder in ID3v2 is most significant bit first (MSB). The
127
+ byteorder in multibyte numbers is most significant byte first (e.g.
128
+ $12345678 would be encoded $12 34 56 78).
129
+
130
+ It is permitted to include padding after all the final frame (at the
131
+ end of the ID3 tag), making the size of all the frames together
132
+ smaller than the size given in the head of the tag. A possible
133
+ purpose of this padding is to allow for adding a few additional
134
+ frames or enlarge existing frames within the tag without having to
135
+ rewrite the entire file. The value of the padding bytes must be $00.
136
+
137
+
138
+ 3.1. ID3v2 header
139
+
140
+ The ID3v2 tag header, which should be the first information in the
141
+ file, is 10 bytes as follows:
142
+
143
+ ID3v2/file identifier "ID3"
144
+ ID3v2 version $03 00
145
+ ID3v2 flags %abc00000
146
+ ID3v2 size 4 * %0xxxxxxx
147
+
148
+ The first three bytes of the tag are always "ID3" to indicate that
149
+ this is an ID3v2 tag, directly followed by the two version bytes. The
150
+ first byte of ID3v2 version is it's major version, while the second
151
+ byte is its revision number. In this case this is ID3v2.3.0. All
152
+ revisions are backwards compatible while major versions are not. If
153
+ software with ID3v2.2.0 and below support should encounter version
154
+ three or higher it should simply ignore the whole tag. Version and
155
+ revision will never be $FF.
156
+
157
+ The version is followed by one the ID3v2 flags field, of which
158
+ currently only three flags are used.
159
+
160
+
161
+ a - Unsynchronisation
162
+
163
+ Bit 7 in the 'ID3v2 flags' indicates whether or not
164
+ unsynchronisation is used (see section 5 for details); a set bit
165
+ indicates usage.
166
+
167
+
168
+ b - Extended header
169
+
170
+ The second bit (bit 6) indicates whether or not the header is
171
+ followed by an extended header. The extended header is described in
172
+ section 3.2.
173
+
174
+
175
+ c - Experimental indicator
176
+
177
+ The third bit (bit 5) should be used as an 'experimental
178
+ indicator'. This flag should always be set when the tag is in an
179
+ experimental stage.
180
+
181
+ All the other flags should be cleared. If one of these undefined
182
+ flags are set that might mean that the tag is not readable for a
183
+ parser that does not know the flags function.
184
+
185
+ The ID3v2 tag size is encoded with four bytes where the most
186
+ significant bit (bit 7) is set to zero in every byte, making a total
187
+ of 28 bits. The zeroed bits are ignored, so a 257 bytes long tag is
188
+ represented as $00 00 02 01.
189
+
190
+ The ID3v2 tag size is the size of the complete tag after
191
+ unsychronisation, including padding, excluding the header but not
192
+ excluding the extended header (total tag size - 10). Only 28 bits
193
+ (representing up to 256MB) are used in the size description to avoid
194
+ the introducuction of 'false syncsignals'.
195
+
196
+ An ID3v2 tag can be detected with the following pattern:
197
+ $49 44 33 yy yy xx zz zz zz zz
198
+ Where yy is less than $FF, xx is the 'flags' byte and zz is less than
199
+ $80.
200
+
201
+
202
+ 3.2. ID3v2 extended header
203
+
204
+ The extended header contains information that is not vital to the
205
+ correct parsing of the tag information, hence the extended header is
206
+ optional.
207
+
208
+ Extended header size $xx xx xx xx
209
+ Extended Flags $xx xx
210
+ Size of padding $xx xx xx xx
211
+
212
+ Where the 'Extended header size', currently 6 or 10 bytes, excludes
213
+ itself. The 'Size of padding' is simply the total tag size excluding
214
+ the frames and the headers, in other words the padding. The extended
215
+ header is considered separate from the header proper, and as such is
216
+ subject to unsynchronisation.
217
+
218
+ The extended flags are a secondary flag set which describes further
219
+ attributes of the tag. These attributes are currently defined as
220
+ follows
221
+
222
+ %x0000000 00000000
223
+
224
+
225
+ x - CRC data present
226
+
227
+ If this flag is set four bytes of CRC-32 data is appended to the
228
+ extended header. The CRC should be calculated before
229
+ unsynchronisation on the data between the extended header and the
230
+ padding, i.e. the frames and only the frames.
231
+
232
+ Total frame CRC $xx xx xx xx
233
+
234
+
235
+ 3.3. ID3v2 frame overview
236
+
237
+ As the tag consists of a tag header and a tag body with one or more
238
+ frames, all the frames consists of a frame header followed by one or
239
+ more fields containing the actual information. The layout of the
240
+ frame header:
241
+
242
+ Frame ID $xx xx xx xx (four characters)
243
+ Size $xx xx xx xx
244
+ Flags $xx xx
245
+
246
+ The frame ID made out of the characters capital A-Z and 0-9.
247
+ Identifiers beginning with "X", "Y" and "Z" are for experimental use
248
+ and free for everyone to use, without the need to set the
249
+ experimental bit in the tag header. Have in mind that someone else
250
+ might have used the same identifier as you. All other identifiers are
251
+ either used or reserved for future use.
252
+
253
+ The frame ID is followed by a size descriptor, making a total header
254
+ size of ten bytes in every frame. The size is calculated as frame
255
+ size excluding frame header (frame size - 10).
256
+
257
+ In the frame header the size descriptor is followed by two flags
258
+ bytes. These flags are described in section 3.3.1.
259
+
260
+ There is no fixed order of the frames' appearance in the tag,
261
+ although it is desired that the frames are arranged in order of
262
+ significance concerning the recognition of the file. An example of
263
+ such order: UFID, TIT2, MCDI, TRCK ...
264
+
265
+ A tag must contain at least one frame. A frame must be at least 1
266
+ byte big, excluding the header.
267
+
268
+ If nothing else is said a string is represented as ISO-8859-1
269
+ [ISO-8859-1] characters in the range $20 - $FF. Such strings are
270
+ represented as <text string>, or <full text string> if newlines are
271
+ allowed, in the frame descriptions. All Unicode strings [UNICODE] use
272
+ 16-bit unicode 2.0 (ISO/IEC 10646-1:1993, UCS-2). Unicode strings
273
+ must begin with the Unicode BOM ($FF FE or $FE FF) to identify the
274
+ byte order.
275
+
276
+ All numeric strings and URLs [URL] are always encoded as ISO-8859-1.
277
+ Terminated strings are terminated with $00 if encoded with ISO-8859-1
278
+ and $00 00 if encoded as unicode. If nothing else is said newline
279
+ character is forbidden. In ISO-8859-1 a new line is represented, when
280
+ allowed, with $0A only. Frames that allow different types of text
281
+ encoding have a text encoding description byte directly after the
282
+ frame size. If ISO-8859-1 is used this byte should be $00, if Unicode
283
+ is used it should be $01. Strings dependent on encoding is
284
+ represented as <text string according to encoding>, or <full text
285
+ string according to encoding> if newlines are allowed. Any empty
286
+ Unicode strings which are NULL-terminated may have the Unicode BOM
287
+ followed by a Unicode NULL ($FF FE 00 00 or $FE FF 00 00).
288
+
289
+ The three byte language field is used to describe the language of the
290
+ frame's content, according to ISO-639-2 [ISO-639-2].
291
+
292
+ All URLs [URL] may be relative, e.g. "picture.png", "../doc.txt".
293
+
294
+ If a frame is longer than it should be, e.g. having more fields than
295
+ specified in this document, that indicates that additions to the
296
+ frame have been made in a later version of the ID3v2 standard. This
297
+ is reflected by the revision number in the header of the tag.
298
+
299
+
300
+ 3.3.1. Frame header flags
301
+
302
+ In the frame header the size descriptor is followed by two flags
303
+ bytes. All unused flags must be cleared. The first byte is for
304
+ 'status messages' and the second byte is for encoding purposes. If an
305
+ unknown flag is set in the first byte the frame may not be changed
306
+ without the bit cleared. If an unknown flag is set in the second byte
307
+ it is likely to not be readable. The flags field is defined as
308
+ follows.
309
+
310
+ %abc00000 %ijk00000
311
+
312
+
313
+ a - Tag alter preservation
314
+
315
+ This flag tells the software what to do with this frame if it is
316
+ unknown and the tag is altered in any way. This applies to all
317
+ kinds of alterations, including adding more padding and reordering
318
+ the frames.
319
+
320
+ 0 Frame should be preserved.
321
+ 1 Frame should be discarded.
322
+
323
+
324
+ b - File alter preservation
325
+
326
+ This flag tells the software what to do with this frame if it is
327
+ unknown and the file, excluding the tag, is altered. This does not
328
+ apply when the audio is completely replaced with other audio data.
329
+
330
+ 0 Frame should be preserved.
331
+ 1 Frame should be discarded.
332
+
333
+
334
+ c - Read only
335
+
336
+ This flag, if set, tells the software that the contents of this
337
+ frame is intended to be read only. Changing the contents might
338
+ break something, e.g. a signature. If the contents are changed,
339
+ without knowledge in why the frame was flagged read only and
340
+ without taking the proper means to compensate, e.g. recalculating
341
+ the signature, the bit should be cleared.
342
+
343
+
344
+ i - Compression
345
+
346
+ This flag indicates whether or not the frame is compressed.
347
+
348
+ 0 Frame is not compressed.
349
+ 1 Frame is compressed using zlib [zlib] with 4 bytes for
350
+ 'decompressed size' appended to the frame header.
351
+
352
+
353
+ j - Encryption
354
+
355
+ This flag indicates wether or not the frame is enrypted. If set
356
+ one byte indicating with which method it was encrypted will be
357
+ appended to the frame header. See section 4.26. for more
358
+ information about encryption method registration.
359
+
360
+ 0 Frame is not encrypted.
361
+ 1 Frame is encrypted.
362
+
363
+
364
+ k - Grouping identity
365
+
366
+ This flag indicates whether or not this frame belongs in a group
367
+ with other frames. If set a group identifier byte is added to the
368
+ frame header. Every frame with the same group identifier belongs
369
+ to the same group.
370
+
371
+ 0 Frame does not contain group information
372
+ 1 Frame contains group information
373
+
374
+
375
+ Some flags indicates that the frame header is extended with
376
+ additional information. This information will be added to the frame
377
+ header in the same order as the flags indicating the additions. I.e.
378
+ the four bytes of decompressed size will preceed the encryption
379
+ method byte. These additions to the frame header, while not included
380
+ in the frame header size but are included in the 'frame size' field,
381
+ are not subject to encryption or compression.
382
+
383
+
384
+ 3.3.2. Default flags
385
+
386
+ The default settings for the frames described in this document can be
387
+ divided into the following classes. The flags may be set differently
388
+ if found more suitable by the software.
389
+
390
+ 1. Discarded if tag is altered, discarded if file is altered.
391
+
392
+ None.
393
+
394
+ 2. Discarded if tag is altered, preserved if file is altered.
395
+
396
+ None.
397
+
398
+ 3. Preserved if tag is altered, discarded if file is altered.
399
+
400
+ AENC, ETCO, EQUA, MLLT, POSS, SYLT, SYTC, RVAD, TENC, TLEN, TSIZ
401
+
402
+ 4. Preserved if tag is altered, preserved if file is altered.
403
+
404
+ The rest of the frames.
405
+
406
+
407
+ 4. Declared ID3v2 frames
408
+
409
+ The following frames are declared in this draft.
410
+
411
+ 4.21 AENC Audio encryption
412
+ 4.15 APIC Attached picture
413
+
414
+ 4.11 COMM Comments
415
+ 4.25 COMR Commercial frame
416
+
417
+ 4.26 ENCR Encryption method registration
418
+ 4.13 EQUA Equalization
419
+ 4.6 ETCO Event timing codes
420
+
421
+ 4.16 GEOB General encapsulated object
422
+ 4.27 GRID Group identification registration
423
+
424
+ 4.4 IPLS Involved people list
425
+
426
+ 4.21 LINK Linked information
427
+
428
+ 4.5 MCDI Music CD identifier
429
+ 4.7 MLLT MPEG location lookup table
430
+
431
+ 4.24 OWNE Ownership frame
432
+
433
+ 4.28. PRIV Private frame
434
+ 4.17 PCNT Play counter
435
+ 4.18 POPM Popularimeter
436
+ 4.22 POSS Position synchronisation frame
437
+
438
+ 4.19 RBUF Recommended buffer size
439
+ 4.12 RVAD Relative volume adjustment
440
+ 4.14 RVRB Reverb
441
+
442
+ 4.10 SYLT Synchronized lyric/text
443
+ 4.8 SYTC Synchronized tempo codes
444
+
445
+ 4.2.1 TALB Album/Movie/Show title
446
+ 4.2.1 TBPM BPM (beats per minute)
447
+ 4.2.1 TCOM Composer
448
+ 4.2.1 TCON Content type
449
+ 4.2.1 TCOP Copyright message
450
+ 4.2.1 TDAT Date
451
+ 4.2.1 TDLY Playlist delay
452
+ 4.2.1 TENC Encoded by
453
+ 4.2.1 TEXT Lyricist/Text writer
454
+ 4.2.1 TFLT File type
455
+ 4.2.1 TIME Time
456
+ 4.2.1 TIT1 Content group description
457
+ 4.2.1 TIT2 Title/songname/content description
458
+ 4.2.1 TIT3 Subtitle/Description refinement
459
+ 4.2.1 TKEY Initial key
460
+ 4.2.1 TLAN Language(s)
461
+ 4.2.1 TLEN Length
462
+ 4.2.1 TMED Media type
463
+ 4.2.1 TOAL Original album/movie/show title
464
+ 4.2.1 TOFN Original filename
465
+ 4.2.1 TOLY Original lyricist(s)/text writer(s)
466
+ 4.2.1 TOPE Original artist(s)/performer(s)
467
+ 4.2.1 TORY Original release year
468
+ 4.2.1 TOWN File owner/licensee
469
+ 4.2.1 TPE1 Lead performer(s)/Soloist(s)
470
+ 4.2.1 TPE2 Band/orchestra/accompaniment
471
+ 4.2.1 TPE3 Conductor/performer refinement
472
+ 4.2.1 TPE4 Interpreted, remixed, or otherwise modified by
473
+ 4.2.1 TPOS Part of a set
474
+ 4.2.1 TPUB Publisher
475
+ 4.2.1 TRCK Track number/Position in set
476
+ 4.2.1 TRDA Recording dates
477
+ 4.2.1 TRSN Internet radio station name
478
+ 4.2.1 TRSO Internet radio station owner
479
+ 4.2.1 TSIZ Size
480
+ 4.2.1 TSRC ISRC (international standard recording code)
481
+ 4.2.1 TSSE Software/Hardware and settings used for encoding
482
+ 4.2.1 TYER Year
483
+ 4.2.2 TXXX User defined text information frame
484
+
485
+ 4.1 UFID Unique file identifier
486
+ 4.23 USER Terms of use
487
+ 4.9 USLT Unsychronized lyric/text transcription
488
+
489
+ 4.3.1 WCOM Commercial information
490
+ 4.3.1 WCOP Copyright/Legal information
491
+ 4.3.1 WOAF Official audio file webpage
492
+ 4.3.1 WOAR Official artist/performer webpage
493
+ 4.3.1 WOAS Official audio source webpage
494
+ 4.3.1 WORS Official internet radio station homepage
495
+ 4.3.1 WPAY Payment
496
+ 4.3.1 WPUB Publishers official webpage
497
+ 4.3.2 WXXX User defined URL link frame
498
+
499
+
500
+ 4.1. Unique file identifier
501
+
502
+ This frame's purpose is to be able to identify the audio file in a
503
+ database that may contain more information relevant to the content.
504
+ Since standardisation of such a database is beyond this document, all
505
+ frames begin with a null-terminated string with a URL [URL]
506
+ containing an email address, or a link to a location where an email
507
+ address can be found, that belongs to the organisation responsible
508
+ for this specific database implementation. Questions regarding the
509
+ database should be sent to the indicated email address. The URL
510
+ should not be used for the actual database queries. The string
511
+ "http://www.id3.org/dummy/ufid.html" should be used for tests.
512
+ Software that isn't told otherwise may safely remove such frames. The
513
+ 'Owner identifier' must be non-empty (more than just a termination).
514
+ The 'Owner identifier' is then followed by the actual identifier,
515
+ which may be up to 64 bytes. There may be more than one "UFID" frame
516
+ in a tag, but only one with the same 'Owner identifier'.
517
+
518
+ <Header for 'Unique file identifier', ID: "UFID">
519
+ Owner identifier <text string> $00
520
+ Identifier <up to 64 bytes binary data>
521
+
522
+
523
+ 4.2. Text information frames
524
+
525
+ The text information frames are the most important frames, containing
526
+ information like artist, album and more. There may only be one text
527
+ information frame of its kind in an tag. If the textstring is
528
+ followed by a termination ($00 (00)) all the following information
529
+ should be ignored and not be displayed. All text frame identifiers
530
+ begin with "T". Only text frame identifiers begin with "T", with the
531
+ exception of the "TXXX" frame. All the text information frames have
532
+ the following format:
533
+
534
+ <Header for 'Text information frame', ID: "T000" - "TZZZ",
535
+ excluding "TXXX" described in 4.2.2.>
536
+ Text encoding $xx
537
+ Information <text string according to encoding>
538
+
539
+
540
+ 4.2.1. Text information frames - details
541
+
542
+ TALB
543
+ The 'Album/Movie/Show title' frame is intended for the title of the
544
+ recording(/source of sound) which the audio in the file is taken
545
+ from.
546
+
547
+ TBPM
548
+ The 'BPM' frame contains the number of beats per minute in the
549
+ mainpart of the audio. The BPM is an integer and represented as a
550
+ numerical string.
551
+
552
+ TCOM
553
+ The 'Composer(s)' frame is intended for the name of the composer(s).
554
+ They are seperated with the "/" character.
555
+
556
+ TCON
557
+ The 'Content type', which previously was stored as a one byte numeric
558
+ value only, is now a numeric string. You may use one or several of
559
+ the types as ID3v1.1 did or, since the category list would be
560
+ impossible to maintain with accurate and up to date categories,
561
+ define your own.
562
+
563
+ References to the ID3v1 genres can be made by, as first byte, enter
564
+ "(" followed by a number from the genres list (appendix A.) and
565
+ ended with a ")" character. This is optionally followed by a
566
+ refinement, e.g. "(21)" or "(4)Eurodisco". Several references can be
567
+ made in the same frame, e.g. "(51)(39)". If the refinement should
568
+ begin with a "(" character it should be replaced with "((", e.g. "((I
569
+ can figure out any genre)" or "(55)((I think...)". The following new
570
+ content types is defined in ID3v2 and is implemented in the same way
571
+ as the numerig content types, e.g. "(RX)".
572
+
573
+ RX Remix
574
+ CR Cover
575
+
576
+ TCOP
577
+ The 'Copyright message' frame, which must begin with a year and a
578
+ space character (making five characters), is intended for the
579
+ copyright holder of the original sound, not the audio file itself.
580
+ The absence of this frame means only that the copyright information
581
+ is unavailable or has been removed, and must not be interpreted to
582
+ mean that the sound is public domain. Every time this field is
583
+ displayed the field must be preceded with "Copyright " (C) " ", where
584
+ (C) is one character showing a C in a circle.
585
+
586
+ TDAT
587
+ The 'Date' frame is a numeric string in the DDMM format containing
588
+ the date for the recording. This field is always four characters
589
+ long.
590
+
591
+ TDLY
592
+ The 'Playlist delay' defines the numbers of milliseconds of silence
593
+ between every song in a playlist. The player should use the "ETC"
594
+ frame, if present, to skip initial silence and silence at the end of
595
+ the audio to match the 'Playlist delay' time. The time is represented
596
+ as a numeric string.
597
+
598
+ TENC
599
+ The 'Encoded by' frame contains the name of the person or
600
+ organisation that encoded the audio file. This field may contain a
601
+ copyright message, if the audio file also is copyrighted by the
602
+ encoder.
603
+
604
+ TEXT
605
+ The 'Lyricist(s)/Text writer(s)' frame is intended for the writer(s)
606
+ of the text or lyrics in the recording. They are seperated with the
607
+ "/" character.
608
+
609
+ TFLT
610
+ The 'File type' frame indicates which type of audio this tag defines.
611
+ The following type and refinements are defined:
612
+
613
+ MPG MPEG Audio
614
+ /1 MPEG 1/2 layer I
615
+ /2 MPEG 1/2 layer II
616
+ /3 MPEG 1/2 layer III
617
+ /2.5 MPEG 2.5
618
+ /AAC Advanced audio compression
619
+ VQF Transform-domain Weighted Interleave Vector Quantization
620
+ PCM Pulse Code Modulated audio
621
+
622
+ but other types may be used, not for these types though. This is used
623
+ in a similar way to the predefined types in the "TMED" frame, but
624
+ without parentheses. If this frame is not present audio type is
625
+ assumed to be "MPG".
626
+
627
+ TIME
628
+ The 'Time' frame is a numeric string in the HHMM format containing
629
+ the time for the recording. This field is always four characters
630
+ long.
631
+
632
+ TIT1
633
+ The 'Content group description' frame is used if the sound belongs to
634
+ a larger category of sounds/music. For example, classical music is
635
+ often sorted in different musical sections (e.g. "Piano Concerto",
636
+ "Weather - Hurricane").
637
+
638
+ TIT2
639
+ The 'Title/Songname/Content description' frame is the actual name of
640
+ the piece (e.g. "Adagio", "Hurricane Donna").
641
+
642
+ TIT3
643
+ The 'Subtitle/Description refinement' frame is used for information
644
+ directly related to the contents title (e.g. "Op. 16" or "Performed
645
+ live at Wembley").
646
+
647
+ TKEY
648
+ The 'Initial key' frame contains the musical key in which the sound
649
+ starts. It is represented as a string with a maximum length of three
650
+ characters. The ground keys are represented with "A","B","C","D","E",
651
+ "F" and "G" and halfkeys represented with "b" and "#". Minor is
652
+ represented as "m". Example "Cbm". Off key is represented with an "o"
653
+ only.
654
+
655
+ TLAN
656
+ The 'Language(s)' frame should contain the languages of the text or
657
+ lyrics spoken or sung in the audio. The language is represented with
658
+ three characters according to ISO-639-2. If more than one language is
659
+ used in the text their language codes should follow according to
660
+ their usage.
661
+
662
+ TLEN
663
+ The 'Length' frame contains the length of the audiofile in
664
+ milliseconds, represented as a numeric string.
665
+
666
+ TMED
667
+ The 'Media type' frame describes from which media the sound
668
+ originated. This may be a text string or a reference to the
669
+ predefined media types found in the list below. References are made
670
+ within "(" and ")" and are optionally followed by a text refinement,
671
+ e.g. "(MC) with four channels". If a text refinement should begin
672
+ with a "(" character it should be replaced with "((" in the same way
673
+ as in the "TCO" frame. Predefined refinements is appended after the
674
+ media type, e.g. "(CD/A)" or "(VID/PAL/VHS)".
675
+
676
+ DIG Other digital media
677
+ /A Analog transfer from media
678
+
679
+ ANA Other analog media
680
+ /WAC Wax cylinder
681
+ /8CA 8-track tape cassette
682
+
683
+ CD CD
684
+ /A Analog transfer from media
685
+ /DD DDD
686
+ /AD ADD
687
+ /AA AAD
688
+
689
+ LD Laserdisc
690
+ /A Analog transfer from media
691
+
692
+ TT Turntable records
693
+ /33 33.33 rpm
694
+ /45 45 rpm
695
+ /71 71.29 rpm
696
+ /76 76.59 rpm
697
+ /78 78.26 rpm
698
+ /80 80 rpm
699
+
700
+ MD MiniDisc
701
+ /A Analog transfer from media
702
+
703
+ DAT DAT
704
+ /A Analog transfer from media
705
+ /1 standard, 48 kHz/16 bits, linear
706
+ /2 mode 2, 32 kHz/16 bits, linear
707
+ /3 mode 3, 32 kHz/12 bits, nonlinear, low speed
708
+ /4 mode 4, 32 kHz/12 bits, 4 channels
709
+ /5 mode 5, 44.1 kHz/16 bits, linear
710
+ /6 mode 6, 44.1 kHz/16 bits, 'wide track' play
711
+
712
+ DCC DCC
713
+ /A Analog transfer from media
714
+
715
+ DVD DVD
716
+ /A Analog transfer from media
717
+
718
+ TV Television
719
+ /PAL PAL
720
+ /NTSC NTSC
721
+ /SECAM SECAM
722
+
723
+ VID Video
724
+ /PAL PAL
725
+ /NTSC NTSC
726
+ /SECAM SECAM
727
+ /VHS VHS
728
+ /SVHS S-VHS
729
+ /BETA BETAMAX
730
+
731
+ RAD Radio
732
+ /FM FM
733
+ /AM AM
734
+ /LW LW
735
+ /MW MW
736
+
737
+ TEL Telephone
738
+ /I ISDN
739
+
740
+ MC MC (normal cassette)
741
+ /4 4.75 cm/s (normal speed for a two sided cassette)
742
+ /9 9.5 cm/s
743
+ /I Type I cassette (ferric/normal)
744
+ /II Type II cassette (chrome)
745
+ /III Type III cassette (ferric chrome)
746
+ /IV Type IV cassette (metal)
747
+
748
+ REE Reel
749
+ /9 9.5 cm/s
750
+ /19 19 cm/s
751
+ /38 38 cm/s
752
+ /76 76 cm/s
753
+ /I Type I cassette (ferric/normal)
754
+ /II Type II cassette (chrome)
755
+ /III Type III cassette (ferric chrome)
756
+ /IV Type IV cassette (metal)
757
+
758
+ TOAL
759
+ The 'Original album/movie/show title' frame is intended for the title
760
+ of the original recording (or source of sound), if for example the
761
+ music in the file should be a cover of a previously released song.
762
+
763
+ TOFN
764
+ The 'Original filename' frame contains the preferred filename for the
765
+ file, since some media doesn't allow the desired length of the
766
+ filename. The filename is case sensitive and includes its suffix.
767
+
768
+ TOLY
769
+ The 'Original lyricist(s)/text writer(s)' frame is intended for the
770
+ text writer(s) of the original recording, if for example the music in
771
+ the file should be a cover of a previously released song. The text
772
+ writers are seperated with the "/" character.
773
+
774
+ TOPE
775
+ The 'Original artist(s)/performer(s)' frame is intended for the
776
+ performer(s) of the original recording, if for example the music in
777
+ the file should be a cover of a previously released song. The
778
+ performers are seperated with the "/" character.
779
+
780
+ TORY
781
+ The 'Original release year' frame is intended for the year when the
782
+ original recording, if for example the music in the file should be a
783
+ cover of a previously released song, was released. The field is
784
+ formatted as in the "TYER" frame.
785
+
786
+ TOWN
787
+ The 'File owner/licensee' frame contains the name of the owner or
788
+ licensee of the file and it's contents.
789
+
790
+ TPE1
791
+ The 'Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group' is
792
+ used for the main artist(s). They are seperated with the "/"
793
+ character.
794
+
795
+ TPE2
796
+ The 'Band/Orchestra/Accompaniment' frame is used for additional
797
+ information about the performers in the recording.
798
+
799
+ TPE3
800
+ The 'Conductor' frame is used for the name of the conductor.
801
+
802
+ TPE4
803
+ The 'Interpreted, remixed, or otherwise modified by' frame contains
804
+ more information about the people behind a remix and similar
805
+ interpretations of another existing piece.
806
+
807
+ TPOS
808
+ The 'Part of a set' frame is a numeric string that describes which
809
+ part of a set the audio came from. This frame is used if the source
810
+ described in the "TALB" frame is divided into several mediums, e.g. a
811
+ double CD. The value may be extended with a "/" character and a
812
+ numeric string containing the total number of parts in the set. E.g.
813
+ "1/2".
814
+
815
+ TPUB
816
+ The 'Publisher' frame simply contains the name of the label or
817
+ publisher.
818
+
819
+ TRCK
820
+ The 'Track number/Position in set' frame is a numeric string
821
+ containing the order number of the audio-file on its original
822
+ recording. This may be extended with a "/" character and a numeric
823
+ string containing the total numer of tracks/elements on the original
824
+ recording. E.g. "4/9".
825
+
826
+ TRDA
827
+ The 'Recording dates' frame is a intended to be used as complement to
828
+ the "TYER", "TDAT" and "TIME" frames. E.g. "4th-7th June, 12th June"
829
+ in combination with the "TYER" frame.
830
+
831
+ TRSN
832
+ The 'Internet radio station name' frame contains the name of the
833
+ internet radio station from which the audio is streamed.
834
+
835
+ TRSO
836
+ The 'Internet radio station owner' frame contains the name of the
837
+ owner of the internet radio station from which the audio is
838
+ streamed.
839
+
840
+ TSIZ
841
+ The 'Size' frame contains the size of the audiofile in bytes,
842
+ excluding the ID3v2 tag, represented as a numeric string.
843
+
844
+ TSRC
845
+ The 'ISRC' frame should contain the International Standard Recording
846
+ Code [ISRC] (12 characters).
847
+
848
+ TSSE
849
+ The 'Software/Hardware and settings used for encoding' frame
850
+ includes the used audio encoder and its settings when the file was
851
+ encoded. Hardware refers to hardware encoders, not the computer on
852
+ which a program was run.
853
+
854
+ TYER
855
+ The 'Year' frame is a numeric string with a year of the recording.
856
+ This frames is always four characters long (until the year 10000).
857
+
858
+
859
+ 4.2.2. User defined text information frame
860
+
861
+ This frame is intended for one-string text information concerning the
862
+ audiofile in a similar way to the other "T"-frames. The frame body
863
+ consists of a description of the string, represented as a terminated
864
+ string, followed by the actual string. There may be more than one
865
+ "TXXX" frame in each tag, but only one with the same description.
866
+
867
+ <Header for 'User defined text information frame', ID: "TXXX">
868
+ Text encoding $xx
869
+ Description <text string according to encoding> $00 (00)
870
+ Value <text string according to encoding>
871
+
872
+
873
+ 4.3. URL link frames
874
+
875
+ With these frames dynamic data such as webpages with touring
876
+ information, price information or plain ordinary news can be added to
877
+ the tag. There may only be one URL [URL] link frame of its kind in an
878
+ tag, except when stated otherwise in the frame description. If the
879
+ textstring is followed by a termination ($00 (00)) all the following
880
+ information should be ignored and not be displayed. All URL link
881
+ frame identifiers begins with "W". Only URL link frame identifiers
882
+ begins with "W". All URL link frames have the following format:
883
+
884
+ <Header for 'URL link frame', ID: "W000" - "WZZZ", excluding "WXXX"
885
+ described in 4.3.2.>
886
+ URL <text string>
887
+
888
+
889
+ 4.3.1. URL link frames - details
890
+
891
+ WCOM
892
+ The 'Commercial information' frame is a URL pointing at a webpage
893
+ with information such as where the album can be bought. There may be
894
+ more than one "WCOM" frame in a tag, but not with the same content.
895
+
896
+ WCOP
897
+ The 'Copyright/Legal information' frame is a URL pointing at a
898
+ webpage where the terms of use and ownership of the file is
899
+ described.
900
+
901
+ WOAF
902
+ The 'Official audio file webpage' frame is a URL pointing at a file
903
+ specific webpage.
904
+
905
+ WOAR
906
+ The 'Official artist/performer webpage' frame is a URL pointing at
907
+ the artists official webpage. There may be more than one "WOAR" frame
908
+ in a tag if the audio contains more than one performer, but not with
909
+ the same content.
910
+
911
+ WOAS
912
+ The 'Official audio source webpage' frame is a URL pointing at the
913
+ official webpage for the source of the audio file, e.g. a movie.
914
+
915
+ WORS
916
+ The 'Official internet radio station homepage' contains a URL
917
+ pointing at the homepage of the internet radio station.
918
+
919
+ WPAY
920
+ The 'Payment' frame is a URL pointing at a webpage that will handle
921
+ the process of paying for this file.
922
+
923
+ WPUB
924
+ The 'Publishers official webpage' frame is a URL pointing at the
925
+ official wepage for the publisher.
926
+
927
+
928
+ 4.3.2. User defined URL link frame
929
+
930
+ This frame is intended for URL [URL] links concerning the audiofile
931
+ in a similar way to the other "W"-frames. The frame body consists
932
+ of a description of the string, represented as a terminated string,
933
+ followed by the actual URL. The URL is always encoded with ISO-8859-1
934
+ [ISO-8859-1]. There may be more than one "WXXX" frame in each tag,
935
+ but only one with the same description.
936
+
937
+ <Header for 'User defined URL link frame', ID: "WXXX">
938
+ Text encoding $xx
939
+ Description <text string according to encoding> $00 (00)
940
+ URL <text string>
941
+
942
+
943
+ 4.4. Involved people list
944
+
945
+ Since there might be a lot of people contributing to an audio file in
946
+ various ways, such as musicians and technicians, the 'Text
947
+ information frames' are often insufficient to list everyone involved
948
+ in a project. The 'Involved people list' is a frame containing the
949
+ names of those involved, and how they were involved. The body simply
950
+ contains a terminated string with the involvement directly followed
951
+ by a terminated string with the involvee followed by a new
952
+ involvement and so on. There may only be one "IPLS" frame in each
953
+ tag.
954
+
955
+ <Header for 'Involved people list', ID: "IPLS">
956
+ Text encoding $xx
957
+ People list strings <text strings according to encoding>
958
+
959
+
960
+ 4.5. Music CD identifier
961
+
962
+ This frame is intended for music that comes from a CD, so that the CD
963
+ can be identified in databases such as the CDDB [CDDB]. The frame
964
+ consists of a binary dump of the Table Of Contents, TOC, from the CD,
965
+ which is a header of 4 bytes and then 8 bytes/track on the CD plus 8
966
+ bytes for the 'lead out' making a maximum of 804 bytes. The offset to
967
+ the beginning of every track on the CD should be described with a
968
+ four bytes absolute CD-frame address per track, and not with absolute
969
+ time. This frame requires a present and valid "TRCK" frame, even if
970
+ the CD's only got one track. There may only be one "MCDI" frame in
971
+ each tag.
972
+
973
+ <Header for 'Music CD identifier', ID: "MCDI">
974
+ CD TOC <binary data>
975
+
976
+
977
+ 4.6. Event timing codes
978
+
979
+ This frame allows synchronisation with key events in a song or sound.
980
+ The header is:
981
+
982
+ <Header for 'Event timing codes', ID: "ETCO">
983
+ Time stamp format $xx
984
+
985
+ Where time stamp format is:
986
+
987
+ $01 Absolute time, 32 bit sized, using MPEG [MPEG] frames as unit
988
+ $02 Absolute time, 32 bit sized, using milliseconds as unit
989
+
990
+ Abolute time means that every stamp contains the time from the
991
+ beginning of the file.
992
+
993
+ Followed by a list of key events in the following format:
994
+
995
+ Type of event $xx
996
+ Time stamp $xx (xx ...)
997
+
998
+ The 'Time stamp' is set to zero if directly at the beginning of the
999
+ sound or after the previous event. All events should be sorted in
1000
+ chronological order. The type of event is as follows:
1001
+
1002
+ $00 padding (has no meaning)
1003
+ $01 end of initial silence
1004
+ $02 intro start
1005
+ $03 mainpart start
1006
+ $04 outro start
1007
+ $05 outro end
1008
+ $06 verse start
1009
+ $07 refrain start
1010
+ $08 interlude start
1011
+ $09 theme start
1012
+ $0A variation start
1013
+ $0B key change
1014
+ $0C time change
1015
+ $0D momentary unwanted noise (Snap, Crackle & Pop)
1016
+ $0E sustained noise
1017
+ $0F sustained noise end
1018
+ $10 intro end
1019
+ $11 mainpart end
1020
+ $12 verse end
1021
+ $13 refrain end
1022
+ $14 theme end
1023
+
1024
+ $15-$DF reserved for future use
1025
+
1026
+ $E0-$EF not predefined sync 0-F
1027
+
1028
+ $F0-$FC reserved for future use
1029
+
1030
+ $FD audio end (start of silence)
1031
+ $FE audio file ends
1032
+ $FF one more byte of events follows (all the following bytes with
1033
+ the value $FF have the same function)
1034
+
1035
+ Terminating the start events such as "intro start" is not required.
1036
+ The 'Not predefined sync's ($E0-EF) are for user events. You might
1037
+ want to synchronise your music to something, like setting of an
1038
+ explosion on-stage, turning on your screensaver etc.
1039
+
1040
+ There may only be one "ETCO" frame in each tag.
1041
+
1042
+
1043
+ 4.7. MPEG location lookup table
1044
+
1045
+ To increase performance and accuracy of jumps within a MPEG [MPEG]
1046
+ audio file, frames with timecodes in different locations in the file
1047
+ might be useful. The ID3v2 frame includes references that the
1048
+ software can use to calculate positions in the file. After the frame
1049
+ header is a descriptor of how much the 'frame counter' should
1050
+ increase for every reference. If this value is two then the first
1051
+ reference points out the second frame, the 2nd reference the 4th
1052
+ frame, the 3rd reference the 6th frame etc. In a similar way the
1053
+ 'bytes between reference' and 'milliseconds between reference' points
1054
+ out bytes and milliseconds respectively.
1055
+
1056
+ Each reference consists of two parts; a certain number of bits, as
1057
+ defined in 'bits for bytes deviation', that describes the difference
1058
+ between what is said in 'bytes between reference' and the reality and
1059
+ a certain number of bits, as defined in 'bits for milliseconds
1060
+ deviation', that describes the difference between what is said in
1061
+ 'milliseconds between reference' and the reality. The number of bits
1062
+ in every reference, i.e. 'bits for bytes deviation'+'bits for
1063
+ milliseconds deviation', must be a multiple of four. There may only
1064
+ be one "MLLT" frame in each tag.
1065
+
1066
+ <Header for 'Location lookup table', ID: "MLLT">
1067
+ MPEG frames between reference $xx xx
1068
+ Bytes between reference $xx xx xx
1069
+ Milliseconds between reference $xx xx xx
1070
+ Bits for bytes deviation $xx
1071
+ Bits for milliseconds dev. $xx
1072
+
1073
+ Then for every reference the following data is included;
1074
+
1075
+ Deviation in bytes %xxx....
1076
+ Deviation in milliseconds %xxx....
1077
+
1078
+
1079
+ 4.8. Synchronised tempo codes
1080
+
1081
+ For a more accurate description of the tempo of a musical piece this
1082
+ frame might be used. After the header follows one byte describing
1083
+ which time stamp format should be used. Then follows one or more
1084
+ tempo codes. Each tempo code consists of one tempo part and one time
1085
+ part. The tempo is in BPM described with one or two bytes. If the
1086
+ first byte has the value $FF, one more byte follows, which is added
1087
+ to the first giving a range from 2 - 510 BPM, since $00 and $01 is
1088
+ reserved. $00 is used to describe a beat-free time period, which is
1089
+ not the same as a music-free time period. $01 is used to indicate one
1090
+ single beat-stroke followed by a beat-free period.
1091
+
1092
+ The tempo descriptor is followed by a time stamp. Every time the
1093
+ tempo in the music changes, a tempo descriptor may indicate this for
1094
+ the player. All tempo descriptors should be sorted in chronological
1095
+ order. The first beat-stroke in a time-period is at the same time as
1096
+ the beat description occurs. There may only be one "SYTC" frame in
1097
+ each tag.
1098
+
1099
+ <Header for 'Synchronised tempo codes', ID: "SYTC">
1100
+ Time stamp format $xx
1101
+ Tempo data <binary data>
1102
+
1103
+ Where time stamp format is:
1104
+
1105
+ $01 Absolute time, 32 bit sized, using MPEG [MPEG] frames as unit
1106
+ $02 Absolute time, 32 bit sized, using milliseconds as unit
1107
+
1108
+ Abolute time means that every stamp contains the time from the
1109
+ beginning of the file.
1110
+
1111
+
1112
+ 4.9. Unsychronised lyrics/text transcription
1113
+
1114
+ This frame contains the lyrics of the song or a text transcription of
1115
+ other vocal activities. The head includes an encoding descriptor and
1116
+ a content descriptor. The body consists of the actual text. The
1117
+ 'Content descriptor' is a terminated string. If no descriptor is
1118
+ entered, 'Content descriptor' is $00 (00) only. Newline characters
1119
+ are allowed in the text. There may be more than one 'Unsynchronised
1120
+ lyrics/text transcription' frame in each tag, but only one with the
1121
+ same language and content descriptor.
1122
+
1123
+ <Header for 'Unsynchronised lyrics/text transcription', ID: "USLT">
1124
+ Text encoding $xx
1125
+ Language $xx xx xx
1126
+ Content descriptor <text string according to encoding> $00 (00)
1127
+ Lyrics/text <full text string according to encoding>
1128
+
1129
+
1130
+ 4.10. Synchronised lyrics/text
1131
+
1132
+ This is another way of incorporating the words, said or sung lyrics,
1133
+ in the audio file as text, this time, however, in sync with the
1134
+ audio. It might also be used to describing events e.g. occurring on a
1135
+ stage or on the screen in sync with the audio. The header includes a
1136
+ content descriptor, represented with as terminated textstring. If no
1137
+ descriptor is entered, 'Content descriptor' is $00 (00) only.
1138
+
1139
+ <Header for 'Synchronised lyrics/text', ID: "SYLT">
1140
+ Text encoding $xx
1141
+ Language $xx xx xx
1142
+ Time stamp format $xx
1143
+ Content type $xx
1144
+ Content descriptor <text string according to encoding> $00 (00)
1145
+
1146
+
1147
+ Encoding: $00 ISO-8859-1 [ISO-8859-1] character set is used => $00
1148
+ is sync identifier.
1149
+ $01 Unicode [UNICODE] character set is used => $00 00 is
1150
+ sync identifier.
1151
+
1152
+ Content type: $00 is other
1153
+ $01 is lyrics
1154
+ $02 is text transcription
1155
+ $03 is movement/part name (e.g. "Adagio")
1156
+ $04 is events (e.g. "Don Quijote enters the stage")
1157
+ $05 is chord (e.g. "Bb F Fsus")
1158
+ $06 is trivia/'pop up' information
1159
+
1160
+ Time stamp format is:
1161
+
1162
+ $01 Absolute time, 32 bit sized, using MPEG [MPEG] frames as unit
1163
+ $02 Absolute time, 32 bit sized, using milliseconds as unit
1164
+
1165
+ Abolute time means that every stamp contains the time from the
1166
+ beginning of the file.
1167
+
1168
+ The text that follows the frame header differs from that of the
1169
+ unsynchronised lyrics/text transcription in one major way. Each
1170
+ syllable (or whatever size of text is considered to be convenient by
1171
+ the encoder) is a null terminated string followed by a time stamp
1172
+ denoting where in the sound file it belongs. Each sync thus has the
1173
+ following structure:
1174
+
1175
+ Terminated text to be synced (typically a syllable)
1176
+ Sync identifier (terminator to above string) $00 (00)
1177
+ Time stamp $xx (xx ...)
1178
+
1179
+ The 'time stamp' is set to zero or the whole sync is omitted if
1180
+ located directly at the beginning of the sound. All time stamps
1181
+ should be sorted in chronological order. The sync can be considered
1182
+ as a validator of the subsequent string.
1183
+
1184
+ Newline ($0A) characters are allowed in all "SYLT" frames and should
1185
+ be used after every entry (name, event etc.) in a frame with the
1186
+ content type $03 - $04.
1187
+
1188
+ A few considerations regarding whitespace characters: Whitespace
1189
+ separating words should mark the beginning of a new word, thus
1190
+ occurring in front of the first syllable of a new word. This is also
1191
+ valid for new line characters. A syllable followed by a comma should
1192
+ not be broken apart with a sync (both the syllable and the comma
1193
+ should be before the sync).
1194
+
1195
+ An example: The "USLT" passage
1196
+
1197
+ "Strangers in the night" $0A "Exchanging glances"
1198
+
1199
+ would be "SYLT" encoded as:
1200
+
1201
+ "Strang" $00 xx xx "ers" $00 xx xx " in" $00 xx xx " the" $00 xx xx
1202
+ " night" $00 xx xx 0A "Ex" $00 xx xx "chang" $00 xx xx "ing" $00 xx
1203
+ xx "glan" $00 xx xx "ces" $00 xx xx
1204
+
1205
+ There may be more than one "SYLT" frame in each tag, but only one
1206
+ with the same language and content descriptor.
1207
+
1208
+
1209
+ 4.11. Comments
1210
+
1211
+ This frame is indended for any kind of full text information that
1212
+ does not fit in any other frame. It consists of a frame header
1213
+ followed by encoding, language and content descriptors and is ended
1214
+ with the actual comment as a text string. Newline characters are
1215
+ allowed in the comment text string. There may be more than one
1216
+ comment frame in each tag, but only one with the same language and
1217
+ content descriptor.
1218
+
1219
+ <Header for 'Comment', ID: "COMM">
1220
+ Text encoding $xx
1221
+ Language $xx xx xx
1222
+ Short content descrip. <text string according to encoding> $00 (00)
1223
+ The actual text <full text string according to encoding>
1224
+
1225
+
1226
+ 4.12. Relative volume adjustment
1227
+
1228
+ This is a more subjective function than the previous ones. It allows
1229
+ the user to say how much he wants to increase/decrease the volume on
1230
+ each channel while the file is played. The purpose is to be able to
1231
+ align all files to a reference volume, so that you don't have to
1232
+ change the volume constantly. This frame may also be used to balance
1233
+ adjust the audio. If the volume peak levels are known then this could
1234
+ be described with the 'Peak volume right' and 'Peak volume left'
1235
+ field. If Peakvolume is not known these fields could be left zeroed
1236
+ or, if no other data follows, be completely omitted. There may only
1237
+ be one "RVAD" frame in each tag.
1238
+
1239
+ <Header for 'Relative volume adjustment', ID: "RVAD">
1240
+ Increment/decrement %00xxxxxx
1241
+ Bits used for volume descr. $xx
1242
+ Relative volume change, right $xx xx (xx ...)
1243
+ Relative volume change, left $xx xx (xx ...)
1244
+ Peak volume right $xx xx (xx ...)
1245
+ Peak volume left $xx xx (xx ...)
1246
+
1247
+ In the increment/decrement field bit 0 is used to indicate the right
1248
+ channel and bit 1 is used to indicate the left channel. 1 is
1249
+ increment and 0 is decrement.
1250
+
1251
+ The 'bits used for volume description' field is normally $10 (16
1252
+ bits) for MPEG 2 layer I, II and III [MPEG] and MPEG 2.5. This value
1253
+ may not be $00. The volume is always represented with whole bytes,
1254
+ padded in the beginning (highest bits) when 'bits used for volume
1255
+ description' is not a multiple of eight.
1256
+
1257
+ This datablock is then optionally followed by a volume definition for
1258
+ the left and right back channels. If this information is appended to
1259
+ the frame the first two channels will be treated as front channels.
1260
+ In the increment/decrement field bit 2 is used to indicate the right
1261
+ back channel and bit 3 for the left back channel.
1262
+
1263
+ Relative volume change, right back $xx xx (xx ...)
1264
+ Relative volume change, left back $xx xx (xx ...)
1265
+ Peak volume right back $xx xx (xx ...)
1266
+ Peak volume left back $xx xx (xx ...)
1267
+
1268
+ If the center channel adjustment is present the following is appended
1269
+ to the existing frame, after the left and right back channels. The
1270
+ center channel is represented by bit 4 in the increase/decrease
1271
+ field.
1272
+
1273
+ Relative volume change, center $xx xx (xx ...)
1274
+ Peak volume center $xx xx (xx ...)
1275
+
1276
+ If the bass channel adjustment is present the following is appended
1277
+ to the existing frame, after the center channel. The bass channel is
1278
+ represented by bit 5 in the increase/decrease field.
1279
+
1280
+ Relative volume change, bass $xx xx (xx ...)
1281
+ Peak volume bass $xx xx (xx ...)
1282
+
1283
+
1284
+ 4.13. Equalisation
1285
+
1286
+ This is another subjective, alignment frame. It allows the user to
1287
+ predefine an equalisation curve within the audio file. There may only
1288
+ be one "EQUA" frame in each tag.
1289
+
1290
+ <Header of 'Equalisation', ID: "EQUA">
1291
+ Adjustment bits $xx
1292
+
1293
+ The 'adjustment bits' field defines the number of bits used for
1294
+ representation of the adjustment. This is normally $10 (16 bits) for
1295
+ MPEG 2 layer I, II and III [MPEG] and MPEG 2.5. This value may not be
1296
+ $00.
1297
+
1298
+ This is followed by 2 bytes + ('adjustment bits' rounded up to the
1299
+ nearest byte) for every equalisation band in the following format,
1300
+ giving a frequency range of 0 - 32767Hz:
1301
+
1302
+ Increment/decrement %x (MSB of the Frequency)
1303
+ Frequency (lower 15 bits)
1304
+ Adjustment $xx (xx ...)
1305
+
1306
+ The increment/decrement bit is 1 for increment and 0 for decrement.
1307
+ The equalisation bands should be ordered increasingly with reference
1308
+ to frequency. All frequencies don't have to be declared. The
1309
+ equalisation curve in the reading software should be interpolated
1310
+ between the values in this frame. Three equal adjustments for three
1311
+ subsequent frequencies. A frequency should only be described once in
1312
+ the frame.
1313
+
1314
+
1315
+ 4.14. Reverb
1316
+
1317
+ Yet another subjective one. You may here adjust echoes of different
1318
+ kinds. Reverb left/right is the delay between every bounce in ms.
1319
+ Reverb bounces left/right is the number of bounces that should be
1320
+ made. $FF equals an infinite number of bounces. Feedback is the
1321
+ amount of volume that should be returned to the next echo bounce. $00
1322
+ is 0%, $FF is 100%. If this value were $7F, there would be 50% volume
1323
+ reduction on the first bounce, 50% of that on the second and so on.
1324
+ Left to left means the sound from the left bounce to be played in the
1325
+ left speaker, while left to right means sound from the left bounce to
1326
+ be played in the right speaker.
1327
+
1328
+ 'Premix left to right' is the amount of left sound to be mixed in the
1329
+ right before any reverb is applied, where $00 id 0% and $FF is 100%.
1330
+ 'Premix right to left' does the same thing, but right to left.
1331
+ Setting both premix to $FF would result in a mono output (if the
1332
+ reverb is applied symmetric). There may only be one "RVRB" frame in
1333
+ each tag.
1334
+
1335
+ <Header for 'Reverb', ID: "RVRB">
1336
+ Reverb left (ms) $xx xx
1337
+ Reverb right (ms) $xx xx
1338
+ Reverb bounces, left $xx
1339
+ Reverb bounces, right $xx
1340
+ Reverb feedback, left to left $xx
1341
+ Reverb feedback, left to right $xx
1342
+ Reverb feedback, right to right $xx
1343
+ Reverb feedback, right to left $xx
1344
+ Premix left to right $xx
1345
+ Premix right to left $xx
1346
+
1347
+
1348
+ 4.15. Attached picture
1349
+
1350
+ This frame contains a picture directly related to the audio file.
1351
+ Image format is the MIME type and subtype [MIME] for the image. In
1352
+ the event that the MIME media type name is omitted, "image/" will be
1353
+ implied. The "image/png" [PNG] or "image/jpeg" [JFIF] picture format
1354
+ should be used when interoperability is wanted. Description is a
1355
+ short description of the picture, represented as a terminated
1356
+ textstring. The description has a maximum length of 64 characters,
1357
+ but may be empty. There may be several pictures attached to one file,
1358
+ each in their individual "APIC" frame, but only one with the same
1359
+ content descriptor. There may only be one picture with the picture
1360
+ type declared as picture type $01 and $02 respectively. There is the
1361
+ possibility to put only a link to the image file by using the 'MIME
1362
+ type' "-->" and having a complete URL [URL] instead of picture data.
1363
+ The use of linked files should however be used sparingly since there
1364
+ is the risk of separation of files.
1365
+
1366
+ <Header for 'Attached picture', ID: "APIC">
1367
+ Text encoding $xx
1368
+ MIME type <text string> $00
1369
+ Picture type $xx
1370
+ Description <text string according to encoding> $00 (00)
1371
+ Picture data <binary data>
1372
+
1373
+
1374
+ Picture type: $00 Other
1375
+ $01 32x32 pixels 'file icon' (PNG only)
1376
+ $02 Other file icon
1377
+ $03 Cover (front)
1378
+ $04 Cover (back)
1379
+ $05 Leaflet page
1380
+ $06 Media (e.g. lable side of CD)
1381
+ $07 Lead artist/lead performer/soloist
1382
+ $08 Artist/performer
1383
+ $09 Conductor
1384
+ $0A Band/Orchestra
1385
+ $0B Composer
1386
+ $0C Lyricist/text writer
1387
+ $0D Recording Location
1388
+ $0E During recording
1389
+ $0F During performance
1390
+ $10 Movie/video screen capture
1391
+ $11 A bright coloured fish
1392
+ $12 Illustration
1393
+ $13 Band/artist logotype
1394
+ $14 Publisher/Studio logotype
1395
+
1396
+
1397
+ 4.16. General encapsulated object
1398
+
1399
+ In this frame any type of file can be encapsulated. After the header,
1400
+ 'Frame size' and 'Encoding' follows 'MIME type' [MIME] represented as
1401
+ as a terminated string encoded with ISO 8859-1 [ISO-8859-1]. The
1402
+ filename is case sensitive and is encoded as 'Encoding'. Then follows
1403
+ a content description as terminated string, encoded as 'Encoding'.
1404
+ The last thing in the frame is the actual object. The first two
1405
+ strings may be omitted, leaving only their terminations. MIME type is
1406
+ always an ISO-8859-1 text string. There may be more than one "GEOB"
1407
+ frame in each tag, but only one with the same content descriptor.
1408
+
1409
+ <Header for 'General encapsulated object', ID: "GEOB">
1410
+ Text encoding $xx
1411
+ MIME type <text string> $00
1412
+ Filename <text string according to encoding> $00 (00)
1413
+ Content description <text string according to enc�ding> $00 (00)
1414
+ Encapsulated object <binary data>
1415
+
1416
+
1417
+ 4.17. Play counter
1418
+
1419
+ This is simply a counter of the number of times a file has been
1420
+ played. The value is increased by one every time the file begins to
1421
+ play. There may only be one "PCNT" frame in each tag. When the
1422
+ counter reaches all one's, one byte is inserted in front of the
1423
+ counter thus making the counter eight bits bigger. The counter must
1424
+ be at least 32-bits long to begin with.
1425
+
1426
+ <Header for 'Play counter', ID: "PCNT">
1427
+ Counter $xx xx xx xx (xx ...)
1428
+
1429
+
1430
+ 4.18. Popularimeter
1431
+
1432
+ The purpose of this frame is to specify how good an audio file is.
1433
+ Many interesting applications could be found to this frame such as a
1434
+ playlist that features better audiofiles more often than others or it
1435
+ could be used to profile a person's taste and find other 'good' files
1436
+ by comparing people's profiles. The frame is very simple. It contains
1437
+ the email address to the user, one rating byte and a four byte play
1438
+ counter, intended to be increased with one for every time the file is
1439
+ played. The email is a terminated string. The rating is 1-255 where
1440
+ 1 is worst and 255 is best. 0 is unknown. If no personal counter is
1441
+ wanted it may be omitted. When the counter reaches all one's, one
1442
+ byte is inserted in front of the counter thus making the counter
1443
+ eight bits bigger in the same away as the play counter ("PCNT").
1444
+ There may be more than one "POPM" frame in each tag, but only one
1445
+ with the same email address.
1446
+
1447
+ <Header for 'Popularimeter', ID: "POPM">
1448
+ Email to user <text string> $00
1449
+ Rating $xx
1450
+ Counter $xx xx xx xx (xx ...)
1451
+
1452
+
1453
+ 4.19. Recommended buffer size
1454
+
1455
+ Sometimes the server from which a audio file is streamed is aware of
1456
+ transmission or coding problems resulting in interruptions in the
1457
+ audio stream. In these cases, the size of the buffer can be
1458
+ recommended by the server using this frame. If the 'embedded info
1459
+ flag' is true (1) then this indicates that an ID3 tag with the
1460
+ maximum size described in 'Buffer size' may occur in the audiostream.
1461
+ In such case the tag should reside between two MPEG [MPEG] frames, if
1462
+ the audio is MPEG encoded. If the position of the next tag is known,
1463
+ 'offset to next tag' may be used. The offset is calculated from the
1464
+ end of tag in which this frame resides to the first byte of the
1465
+ header in the next. This field may be omitted. Embedded tags are
1466
+ generally not recommended since this could render unpredictable
1467
+ behaviour from present software/hardware.
1468
+
1469
+ For applications like streaming audio it might be an idea to embed
1470
+ tags into the audio stream though. If the clients connects to
1471
+ individual connections like HTTP and there is a possibility to begin
1472
+ every transmission with a tag, then this tag should include a
1473
+ 'recommended buffer size' frame. If the client is connected to a
1474
+ arbitrary point in the stream, such as radio or multicast, then the
1475
+ 'recommended buffer size' frame should be included in every tag.
1476
+ Every tag that is picked up after the initial/first tag is to be
1477
+ considered as an update of the previous one. E.g. if there is a
1478
+ "TIT2" frame in the first received tag and one in the second tag,
1479
+ then the first should be 'replaced' with the second.
1480
+
1481
+ The 'Buffer size' should be kept to a minimum. There may only be one
1482
+ "RBUF" frame in each tag.
1483
+
1484
+ <Header for 'Recommended buffer size', ID: "RBUF">
1485
+ Buffer size $xx xx xx
1486
+ Embedded info flag %0000000x
1487
+ Offset to next tag $xx xx xx xx
1488
+
1489
+
1490
+ 4.20. Audio encryption
1491
+
1492
+ This frame indicates if the actual audio stream is encrypted, and by
1493
+ whom. Since standardisation of such encrypion scheme is beyond this
1494
+ document, all "AENC" frames begin with a terminated string with a
1495
+ URL containing an email address, or a link to a location where an
1496
+ email address can be found, that belongs to the organisation
1497
+ responsible for this specific encrypted audio file. Questions
1498
+ regarding the encrypted audio should be sent to the email address
1499
+ specified. If a $00 is found directly after the 'Frame size' and the
1500
+ audiofile indeed is encrypted, the whole file may be considered
1501
+ useless.
1502
+
1503
+ After the 'Owner identifier', a pointer to an unencrypted part of the
1504
+ audio can be specified. The 'Preview start' and 'Preview length' is
1505
+ described in frames. If no part is unencrypted, these fields should
1506
+ be left zeroed. After the 'preview length' field follows optionally a
1507
+ datablock required for decryption of the audio. There may be more
1508
+ than one "AENC" frames in a tag, but only one with the same 'Owner
1509
+ identifier'.
1510
+
1511
+ <Header for 'Audio encryption', ID: "AENC">
1512
+ Owner identifier <text string> $00
1513
+ Preview start $xx xx
1514
+ Preview length $xx xx
1515
+ Encryption info <binary data>
1516
+
1517
+
1518
+ 4.21. Linked information
1519
+
1520
+ To keep space waste as low as possible this frame may be used to link
1521
+ information from another ID3v2 tag that might reside in another audio
1522
+ file or alone in a binary file. It is recommended that this method is
1523
+ only used when the files are stored on a CD-ROM or other
1524
+ circumstances when the risk of file seperation is low. The frame
1525
+ contains a frame identifier, which is the frame that should be linked
1526
+ into this tag, a URL [URL] field, where a reference to the file where
1527
+ the frame is given, and additional ID data, if needed. Data should be
1528
+ retrieved from the first tag found in the file to which this link
1529
+ points. There may be more than one "LINK" frame in a tag, but only
1530
+ one with the same contents. A linked frame is to be considered as
1531
+ part of the tag and has the same restrictions as if it was a physical
1532
+ part of the tag (i.e. only one "RVRB" frame allowed, whether it's
1533
+ linked or not).
1534
+
1535
+ <Header for 'Linked information', ID: "LINK">
1536
+ Frame identifier $xx xx xx
1537
+ URL <text string> $00
1538
+ ID and additional data <text string(s)>
1539
+
1540
+ Frames that may be linked and need no additional data are "IPLS",
1541
+ "MCID", "ETCO", "MLLT", "SYTC", "RVAD", "EQUA", "RVRB", "RBUF", the
1542
+ text information frames and the URL link frames.
1543
+
1544
+ The "TXXX", "APIC", "GEOB" and "AENC" frames may be linked with
1545
+ the content descriptor as additional ID data.
1546
+
1547
+ The "COMM", "SYLT" and "USLT" frames may be linked with three bytes
1548
+ of language descriptor directly followed by a content descriptor as
1549
+ additional ID data.
1550
+
1551
+
1552
+ 4.22. Position synchronisation frame
1553
+
1554
+ This frame delivers information to the listener of how far into the
1555
+ audio stream he picked up; in effect, it states the time offset of
1556
+ the first frame in the stream. The frame layout is:
1557
+
1558
+ <Head for 'Position synchronisation', ID: "POSS">
1559
+ Time stamp format $xx
1560
+ Position $xx (xx ...)
1561
+
1562
+ Where time stamp format is:
1563
+
1564
+ $01 Absolute time, 32 bit sized, using MPEG frames as unit
1565
+ $02 Absolute time, 32 bit sized, using milliseconds as unit
1566
+
1567
+ and position is where in the audio the listener starts to receive,
1568
+ i.e. the beginning of the next frame. If this frame is used in the
1569
+ beginning of a file the value is always 0. There may only be one
1570
+ "POSS" frame in each tag.
1571
+
1572
+
1573
+ 4.23. Terms of use frame
1574
+
1575
+ This frame contains a brief description of the terms of use and
1576
+ ownership of the file. More detailed information concerning the legal
1577
+ terms might be available through the "WCOP" frame. Newlines are
1578
+ allowed in the text. There may only be one "USER" frame in a tag.
1579
+
1580
+ <Header for 'Terms of use frame', ID: "USER">
1581
+ Text encoding $xx
1582
+ Language $xx xx xx
1583
+ The actual text <text string according to encoding>
1584
+
1585
+
1586
+ 4.24. Ownership frame
1587
+
1588
+ The ownership frame might be used as a reminder of a made transaction
1589
+ or, if signed, as proof. Note that the "USER" and "TOWN" frames are
1590
+ good to use in conjunction with this one. The frame begins, after the
1591
+ frame ID, size and encoding fields, with a 'price payed' field. The
1592
+ first three characters of this field contains the currency used for
1593
+ the transaction, encoded according to ISO 4217 [ISO-4217] alphabetic
1594
+ currency code. Concatenated to this is the actual price payed, as a
1595
+ numerical string using "." as the decimal separator. Next is an 8
1596
+ character date string (YYYYMMDD) followed by a string with the name
1597
+ of the seller as the last field in the frame. There may only be one
1598
+ "OWNE" frame in a tag.
1599
+
1600
+ <Header for 'Ownership frame', ID: "OWNE">
1601
+ Text encoding $xx
1602
+ Price payed <text string> $00
1603
+ Date of purch. <text string>
1604
+ Seller <text string according to encoding>
1605
+
1606
+
1607
+ 4.25. Commercial frame
1608
+
1609
+ This frame enables several competing offers in the same tag by
1610
+ bundling all needed information. That makes this frame rather complex
1611
+ but it's an easier solution than if one tries to achieve the same
1612
+ result with several frames. The frame begins, after the frame ID,
1613
+ size and encoding fields, with a price string field. A price is
1614
+ constructed by one three character currency code, encoded according
1615
+ to ISO 4217 [ISO-4217] alphabetic currency code, followed by a
1616
+ numerical value where "." is used as decimal seperator. In the price
1617
+ string several prices may be concatenated, seperated by a "/"
1618
+ character, but there may only be one currency of each type.
1619
+
1620
+ The price string is followed by an 8 character date string in the
1621
+ format YYYYMMDD, describing for how long the price is valid. After
1622
+ that is a contact URL, with which the user can contact the seller,
1623
+ followed by a one byte 'received as' field. It describes how the
1624
+ audio is delivered when bought according to the following list:
1625
+
1626
+ $00 Other
1627
+ $01 Standard CD album with other songs
1628
+ $02 Compressed audio on CD
1629
+ $03 File over the Internet
1630
+ $04 Stream over the Internet
1631
+ $05 As note sheets
1632
+ $06 As note sheets in a book with other sheets
1633
+ $07 Music on other media
1634
+ $08 Non-musical merchandise
1635
+
1636
+ Next follows a terminated string with the name of the seller followed
1637
+ by a terminated string with a short description of the product. The
1638
+ last thing is the ability to include a company logotype. The first of
1639
+ them is the 'Picture MIME type' field containing information about
1640
+ which picture format is used. In the event that the MIME media type
1641
+ name is omitted, "image/" will be implied. Currently only "image/png"
1642
+ and "image/jpeg" are allowed. This format string is followed by the
1643
+ binary picture data. This two last fields may be omitted if no
1644
+ picture is to attach.
1645
+
1646
+ <Header for 'Commercial frame', ID: "COMR">
1647
+ Text encoding $xx
1648
+ Price string <text string> $00
1649
+ Valid until <text string>
1650
+ Contact URL <text string> $00
1651
+ Received as $xx
1652
+ Name of seller <text string according to encoding> $00 (00)
1653
+ Description <text string according to encoding> $00 (00)
1654
+ Picture MIME type <string> $00
1655
+ Seller logo <binary data>
1656
+
1657
+
1658
+ 4.26. Encryption method registration
1659
+
1660
+ To identify with which method a frame has been encrypted the
1661
+ encryption method must be registered in the tag with this frame. The
1662
+ 'Owner identifier' is a null-terminated string with a URL [URL]
1663
+ containing an email address, or a link to a location where an email
1664
+ address can be found, that belongs to the organisation responsible
1665
+ for this specific encryption method. Questions regarding the
1666
+ encryption method should be sent to the indicated email address. The
1667
+ 'Method symbol' contains a value that is associated with this method
1668
+ throughout the whole tag. Values below $80 are reserved. The 'Method
1669
+ symbol' may optionally be followed by encryption specific data. There
1670
+ may be several "ENCR" frames in a tag but only one containing the
1671
+ same symbol and only one containing the same owner identifier. The
1672
+ method must be used somewhere in the tag. See section 3.3.1, flag j
1673
+ for more information.
1674
+
1675
+ <Header for 'Encryption method registration', ID: "ENCR">
1676
+ Owner identifier <text string> $00
1677
+ Method symbol $xx
1678
+ Encryption data <binary data>
1679
+
1680
+
1681
+ 4.27. Group identification registration
1682
+
1683
+ This frame enables grouping of otherwise unrelated frames. This can
1684
+ be used when some frames are to be signed. To identify which frames
1685
+ belongs to a set of frames a group identifier must be registered in
1686
+ the tag with this frame. The 'Owner identifier' is a null-terminated
1687
+ string with a URL [URL] containing an email address, or a link to a
1688
+ location where an email address can be found, that belongs to the
1689
+ organisation responsible for this grouping. Questions regarding the
1690
+ grouping should be sent to the indicated email address. The 'Group
1691
+ symbol' contains a value that associates the frame with this group
1692
+ throughout the whole tag. Values below $80 are reserved. The 'Group
1693
+ symbol' may optionally be followed by some group specific data, e.g.
1694
+ a digital signature. There may be several "GRID" frames in a tag but
1695
+ only one containing the same symbol and only one containing the same
1696
+ owner identifier. The group symbol must be used somewhere in the tag.
1697
+ See section 3.3.1, flag j for more information.
1698
+
1699
+ <Header for 'Group ID registration', ID: "GRID">
1700
+ Owner identifier <text string> $00
1701
+ Group symbol $xx
1702
+ Group dependent data <binary data>
1703
+
1704
+
1705
+ 4.28. Private frame
1706
+
1707
+ This frame is used to contain information from a software producer
1708
+ that its program uses and does not fit into the other frames. The
1709
+ frame consists of an 'Owner identifier' string and the binary data.
1710
+ The 'Owner identifier' is a null-terminated string with a URL [URL]
1711
+ containing an email address, or a link to a location where an email
1712
+ address can be found, that belongs to the organisation responsible
1713
+ for the frame. Questions regarding the frame should be sent to the
1714
+ indicated email address. The tag may contain more than one "PRIV"
1715
+ frame but only with different contents. It is recommended to keep the
1716
+ number of "PRIV" frames as low as possible.
1717
+
1718
+ <Header for 'Private frame', ID: "PRIV">
1719
+ Owner identifier <text string> $00
1720
+ The private data <binary data>
1721
+
1722
+
1723
+ 5. The 'unsynchronisation scheme'
1724
+
1725
+ The only purpose of the 'unsynchronisation scheme' is to make the
1726
+ ID3v2 tag as compatible as possible with existing software. There is
1727
+ no use in 'unsynchronising' tags if the file is only to be processed
1728
+ by new software. Unsynchronisation may only be made with MPEG 2 layer
1729
+ I, II and III and MPEG 2.5 files.
1730
+
1731
+ Whenever a false synchronisation is found within the tag, one zeroed
1732
+ byte is inserted after the first false synchronisation byte. The
1733
+ format of a correct sync that should be altered by ID3 encoders is as
1734
+ follows:
1735
+
1736
+ %11111111 111xxxxx
1737
+
1738
+ And should be replaced with:
1739
+
1740
+ %11111111 00000000 111xxxxx
1741
+
1742
+ This has the side effect that all $FF 00 combinations have to be
1743
+ altered, so they won't be affected by the decoding process. Therefore
1744
+ all the $FF 00 combinations have to be replaced with the $FF 00 00
1745
+ combination during the unsynchronisation.
1746
+
1747
+ To indicate usage of the unsynchronisation, the first bit in 'ID3
1748
+ flags' should be set. This bit should only be set if the tag
1749
+ contains a, now corrected, false synchronisation. The bit should
1750
+ only be clear if the tag does not contain any false synchronisations.
1751
+
1752
+ Do bear in mind, that if a compression scheme is used by the encoder,
1753
+ the unsynchronisation scheme should be applied *afterwards*. When
1754
+ decoding a compressed, 'unsynchronised' file, the 'unsynchronisation
1755
+ scheme' should be parsed first, decompression afterwards.
1756
+
1757
+ If the last byte in the tag is $FF, and there is a need to eliminate
1758
+ false synchronisations in the tag, at least one byte of padding
1759
+ should be added.
1760
+
1761
+
1762
+ 6. Copyright
1763
+
1764
+ Copyright (C) Martin Nilsson 1998. All Rights Reserved.
1765
+
1766
+ This document and translations of it may be copied and furnished to
1767
+ others, and derivative works that comment on or otherwise explain it
1768
+ or assist in its implementation may be prepared, copied, published
1769
+ and distributed, in whole or in part, without restriction of any
1770
+ kind, provided that a reference to this document is included on all
1771
+ such copies and derivative works. However, this document itself may
1772
+ not be modified in any way and reissued as the original document.
1773
+
1774
+ The limited permissions granted above are perpetual and will not be
1775
+ revoked.
1776
+
1777
+ This document and the information contained herein is provided on an
1778
+ "AS IS" basis and THE AUTHORS DISCLAIMS ALL WARRANTIES, EXPRESS OR
1779
+ IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
1780
+ THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
1781
+ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
1782
+
1783
+
1784
+ 7. References
1785
+
1786
+ [CDDB] Compact Disc Data Base
1787
+
1788
+ <url:http://www.cddb.com>
1789
+
1790
+ [ID3v2] Martin Nilsson, "ID3v2 informal standard".
1791
+
1792
+ <url:http://www.id3.org/id3v2-00.txt>
1793
+
1794
+ [ISO-639-2] ISO/FDIS 639-2.
1795
+ Codes for the representation of names of languages, Part 2: Alpha-3
1796
+ code. Technical committee / subcommittee: TC 37 / SC 2
1797
+
1798
+ [ISO-4217] ISO 4217:1995.
1799
+ Codes for the representation of currencies and funds.
1800
+ Technical committee / subcommittee: TC 68
1801
+
1802
+ [ISO-8859-1] ISO/IEC DIS 8859-1.
1803
+ 8-bit single-byte coded graphic character sets, Part 1: Latin
1804
+ alphabet No. 1. Technical committee / subcommittee: JTC 1 / SC 2
1805
+
1806
+ [ISRC] ISO 3901:1986
1807
+ International Standard Recording Code (ISRC).
1808
+ Technical committee / subcommittee: TC 46 / SC 9
1809
+
1810
+ [JFIF] JPEG File Interchange Format, version 1.02
1811
+
1812
+ <url:http://www.w3.org/Graphics/JPEG/jfif.txt>
1813
+
1814
+ [MIME] Freed, N. and N. Borenstein, "Multipurpose Internet Mail
1815
+ Extensions (MIME) Part One: Format of Internet Message Bodies",
1816
+ RFC 2045, November 1996.
1817
+
1818
+ <url:ftp://ftp.isi.edu/in-notes/rfc2045.txt>
1819
+
1820
+ [MPEG] ISO/IEC 11172-3:1993.
1821
+ Coding of moving pictures and associated audio for digital storage
1822
+ media at up to about 1,5 Mbit/s, Part 3: Audio.
1823
+ Technical committee / subcommittee: JTC 1 / SC 29
1824
+ and
1825
+ ISO/IEC 13818-3:1995
1826
+ Generic coding of moving pictures and associated audio information,
1827
+ Part 3: Audio.
1828
+ Technical committee / subcommittee: JTC 1 / SC 29
1829
+ and
1830
+ ISO/IEC DIS 13818-3
1831
+ Generic coding of moving pictures and associated audio information,
1832
+ Part 3: Audio (Revision of ISO/IEC 13818-3:1995)
1833
+
1834
+
1835
+ [PNG] Portable Network Graphics, version 1.0
1836
+
1837
+ <url:http://www.w3.org/TR/REC-png-multi.html>
1838
+
1839
+ [UNICODE] ISO/IEC 10646-1:1993.
1840
+ Universal Multiple-Octet Coded Character Set (UCS), Part 1:
1841
+ Architecture and Basic Multilingual Plane.
1842
+ Technical committee / subcommittee: JTC 1 / SC 2
1843
+
1844
+ <url:http://www.unicode.org>
1845
+
1846
+ [URL] T. Berners-Lee, L. Masinter & M. McCahill, "Uniform Resource
1847
+ Locators (URL).", RFC 1738, December 1994.
1848
+
1849
+ <url:ftp://ftp.isi.edu/in-notes/rfc1738.txt>
1850
+
1851
+ [ZLIB] P. Deutsch, Aladdin Enterprises & J-L. Gailly, "ZLIB
1852
+ Compressed
1853
+ Data Format Specification version 3.3", RFC 1950, May 1996.
1854
+
1855
+ <url:ftp://ftp.isi.edu/in-notes/rfc1950.txt>
1856
+
1857
+
1858
+ 8. Appendix
1859
+
1860
+
1861
+ A. Appendix A - Genre List from ID3v1
1862
+
1863
+ The following genres is defined in ID3v1
1864
+
1865
+ 0.Blues
1866
+ 1.Classic Rock
1867
+ 2.Country
1868
+ 3.Dance
1869
+ 4.Disco
1870
+ 5.Funk
1871
+ 6.Grunge
1872
+ 7.Hip-Hop
1873
+ 8.Jazz
1874
+ 9.Metal
1875
+ 10.New Age
1876
+ 11.Oldies
1877
+ 12.Other
1878
+ 13.Pop
1879
+ 14.R&B
1880
+ 15.Rap
1881
+ 16.Reggae
1882
+ 17.Rock
1883
+ 18.Techno
1884
+ 19.Industrial
1885
+ 20.Alternative
1886
+ 21.Ska
1887
+ 22.Death Metal
1888
+ 23.Pranks
1889
+ 24.Soundtrack
1890
+ 25.Euro-Techno
1891
+ 26.Ambient
1892
+ 27.Trip-Hop
1893
+ 28.Vocal
1894
+ 29.Jazz+Funk
1895
+ 30.Fusion
1896
+ 31.Trance
1897
+ 32.Classical
1898
+ 33.Instrumental
1899
+ 34.Acid
1900
+ 35.House
1901
+ 36.Game
1902
+ 37.Sound Clip
1903
+ 38.Gospel
1904
+ 39.Noise
1905
+ 40.AlternRock
1906
+ 41.Bass
1907
+ 42.Soul
1908
+ 43.Punk
1909
+ 44.Space
1910
+ 45.Meditative
1911
+ 46.Instrumental Pop
1912
+ 47.Instrumental Rock
1913
+ 48.Ethnic
1914
+ 49.Gothic
1915
+ 50.Darkwave
1916
+ 51.Techno-Industrial
1917
+ 52.Electronic
1918
+ 53.Pop-Folk
1919
+ 54.Eurodance
1920
+ 55.Dream
1921
+ 56.Southern Rock
1922
+ 57.Comedy
1923
+ 58.Cult
1924
+ 59.Gangsta
1925
+ 60.Top 40
1926
+ 61.Christian Rap
1927
+ 62.Pop/Funk
1928
+ 63.Jungle
1929
+ 64.Native American
1930
+ 65.Cabaret
1931
+ 66.New Wave
1932
+ 67.Psychadelic
1933
+ 68.Rave
1934
+ 69.Showtunes
1935
+ 70.Trailer
1936
+ 71.Lo-Fi
1937
+ 72.Tribal
1938
+ 73.Acid Punk
1939
+ 74.Acid Jazz
1940
+ 75.Polka
1941
+ 76.Retro
1942
+ 77.Musical
1943
+ 78.Rock & Roll
1944
+ 79.Hard Rock
1945
+
1946
+ The following genres are Winamp extensions
1947
+
1948
+ 80.Folk
1949
+ 81.Folk-Rock
1950
+ 82.National Folk
1951
+ 83.Swing
1952
+ 84.Fast Fusion
1953
+ 85.Bebob
1954
+ 86.Latin
1955
+ 87.Revival
1956
+ 88.Celtic
1957
+ 89.Bluegrass
1958
+ 90.Avantgarde
1959
+ 91.Gothic Rock
1960
+ 92.Progressive Rock
1961
+ 93.Psychedelic Rock
1962
+ 94.Symphonic Rock
1963
+ 95.Slow Rock
1964
+ 96.Big Band
1965
+ 97.Chorus
1966
+ 98.Easy Listening
1967
+ 99.Acoustic
1968
+ 100.Humour
1969
+ 101.Speech
1970
+ 102.Chanson
1971
+ 103.Opera
1972
+ 104.Chamber Music
1973
+ 105.Sonata
1974
+ 106.Symphony
1975
+ 107.Booty Bass
1976
+ 108.Primus
1977
+ 109.Porn Groove
1978
+ 110.Satire
1979
+ 111.Slow Jam
1980
+ 112.Club
1981
+ 113.Tango
1982
+ 114.Samba
1983
+ 115.Folklore
1984
+ 116.Ballad
1985
+ 117.Power Ballad
1986
+ 118.Rhythmic Soul
1987
+ 119.Freestyle
1988
+ 120.Duet
1989
+ 121.Punk Rock
1990
+ 122.Drum Solo
1991
+ 123.Acapella
1992
+ 124.Euro-House
1993
+ 125.Dance Hall
1994
+
1995
+
1996
+ 9. Author's Address
1997
+
1998
+ Written by
1999
+
2000
+ Martin Nilsson
2001
+ Rydsv�gen 246 C. 30
2002
+ S-584 34 Link�ping
2003
+ Sweden
2004
+
2005
+ Email: nilsson@id3.org
2006
+
2007
+
2008
+ Edited by
2009
+
2010
+ Dirk Mahoney
2011
+ 57 Pechey Street
2012
+ Chermside Q
2013
+ Australia 4032
2014
+
2015
+ Email: dirk@id3.org
2016
+
2017
+
2018
+ Johan Sundstr�m
2019
+ Als�ttersgatan 5 A. 34
2020
+ S-584 35 Link�ping
2021
+ Sweden
2022
+
2023
+ Email: johan@id3.org
2024
+
2025
+