How to calculate the TitleQuery string for DeluxeCD.mdb?
The TitleQuery string consists of several values notated as hex strings and separated by a plus sign "+".
- The first value is the track count
- For each track, the trackposition in frames (and as hex string) is added to the string
- At least, the end position of the CD (in frames) is appended. You get this by adding the position of the last track to it's length +1.
We better take a look at an example:
(again, it's the CD from "Joe Jackson" named "Blaze Of Glory" with the ID [137EBFA])
| | MM:SS:FF minutes:seconds:frames | frames at 75 frames/second | frames (hex) |
| Track 1 | 00:02:33 | 183 | B7 |
| Track 2 | 04:32:65 | 20465 | 4FF1 |
| Track 3 | 08:46:55 | 39505 | 9A51 |
| Track 4 | 13:01:13 | 58588 | E4DC |
| Track 5 | 18:10:03 | 81753 | 13F59 |
| Track 6 | 23:30:70 | 105820 | 19D5C |
| Track 7 | 29:39:15 | 133440 | 20940 |
| Track 8 | 34:24:33 | 154833 | 25CD1 |
| Track 9 | 40:12:73 | 180973 | 2C2ED |
| Track 10 | 43:22:53 | 195203 | 2FA83 |
| Track 11 | 47:07:63 | 212088 | 33C78 |
| Track 12 | 52:09:30 | 234705 | 394D1 |
| Length of last track | 05:11:14 | 23339 | 5B2B |
cd=C+B7+4FF1+9A51+E4DC+13F59+19D5C+20940+25CD1+2C2ED+2FA83+33C78+394D1+3EFFD
! !! ! ! ! !
! ++-(*2) (*3)-+---+ ! !
+----(*1) (*4)-------+---+
Notes
*1) track count (hex)
*2) position of track 1 (frames in hex)
*3) position of last track
*4) last value is the start of the lead-out: position of last track (x394D1) + length of last track (x5B2B) +1 = x3EFFD
See also
Query result data format
''' / faq / 0007
|