Nearly every TTA file is TTA1, with one of four values in its audio format field. This
page lists what the field, the bit depth and the channel count can hold, which tool wrote or read
what, what was checked against real files and other decoders, and the two different formats that
start with TTA2. The header page has the byte layout.
The forms at a glance
| Form | Starts with | Header | Seek table | Written by | Status here |
|---|---|---|---|---|---|
| TTA1, audio format 1 (simple) | TTA1 | 22 bytes | after the header | every tool | Decoded; real files, FFmpeg |
| TTA1, audio format 2 (encrypted) | TTA1 | 22 bytes | after the header | the official library (libtta), when its caller asks for format 2 and sets a password | Decoded; one real file, FFmpeg |
| TTA1, audio format 3 (floating point) | TTA1 | 22 bytes | after the header | ttaenc 3.2 and 3.3, ttalib 1.1 | Decoded from the source’s rules; no real file |
| TTA1, audio format 0 | TTA1 | 22 bytes | after the header | no tool | Read as format 1, as libtta does |
| TTA2 of ttaenc-dev 2.0 | TTA2 | 20 bytes, no CRC | none: blocks with sizes | ttaenc-dev 2.0-2003 | Decoded from the source’s rules; no real file |
| TTA2 draft of the wiki | TTA2 | 36 bytes | a footer after the frames | no tool known | Header and footer read; frames not decoded (draft only: no bitstream documented) |
The format is identified by its four-byte signature, which the version digit ends. A decoder
that finds neither TTA1 nor TTA2 after any ID3v2 tag stops; FFmpeg’s
probe also wants the audio format to be 1 or 2 and the channels, bits and sample count not to
be 0. The two TTA2 layouts are told apart by their header: the draft has a correct
CRC-32 at offset 32, the 2003 tool has a level of 1 to 3 at offset 4 and an audio format of 1 or 3 at offset 6.
The audio format field
The two bytes at offset 4 hold the WAVE format tag of the sound with one addition: 1 for integer samples (a plain stream), 3 for floating-point samples (the WAVE tag IEEE float), and 2 for a stream whose filters start from a password (2 is not a WAVE tag for any such sound). What each program accepts:
| Program | Accepts |
|---|---|
| ttaenc 3.2, 3.3, ttalib 1.1 | 1 and 3 (checked as the WAVE tag of the file being encoded; the decoder tests only for 3) |
| ttaenc 3.4, 3.4.1 | 1 only (floating point was removed in 3.4, 7 July 2007) |
| libtta 2.1 to 2.3 (the official library) | 0, 1 and 2 (it refuses only values above 2); when a password has been set it is used whatever the field says |
| FFmpeg | 0, 1 and 2 (it refuses above 2; it needs a password only for 2) |
| libttaR | 1 only |
| this site | 0 to 3; 0 is read as 1 |
Encrypted files (audio format 2)
An encrypted file is coded exactly like a plain one except for one thing: every channel’s hybrid filter starts a frame with weights made from the password instead of zeros. The header, the seek table and every frame’s CRC-32 are the same kind of data and are right for any password, so nothing in the file confirms a password: a wrong one decodes without any error to noise.
The weights come from a CRC-64 of the password’s bytes: polynomial
0x42F0E1EBA9EA3693, register starting at all ones, each byte xor-ed into the top
byte, bits shifted left (no reflection), result xor-ed with all ones. The eight bytes of the
result, lowest first and each read as a signed 8-bit number, are the eight weights
qm[0] to qm[7].
password "ffmpeg" → weights 117 −22 −111 −126 23 45 −23 −125 (bytes 75 EA 91 82 17 2D E9 83)
empty password → weights 0 0 0 0 0 0 0 0 (the same as a plain file)
The real example is encrypted.tta of FFmpeg’s test suite (password
ffmpeg). Its header is 54 54 41 31 02 00 02 00 10 00 44 AC 00 00
EC FA 04 00 72 91 79 73: audio format 2, stereo, 16 bits, 44,100 Hz, 326,380
samples. Decoded with the password the 326,380 samples equal FFmpeg’s, and with any other the
file decodes to noise. The explorer shows a password box for such files: type the password
and it is used; leave the box empty and a short list of common ones is tried, the one whose first
frame is much smoother than the others being taken, since the file cannot say.
The official library does the same calculation (libtta 2.1 to 2.3: compute_key_digits takes the
CRC-64 of the password and filter_init starts every channel’s filter from its eight bytes in every
frame), and uses the key whenever a password was set, whatever the audio format field says; it refuses
a format-2 file when none was set. ttaenc 3.2 to 3.4.1, ttalib 1.1 and libttaR have no password at all. Only FFmpeg’s
decoder and this site’s were checked against the one real encrypted file; libtta was read, not run.
Bit depths
The coder works on whole bytes: the header’s bits per sample are rounded up to 1, 2, 3 or 4 bytes, and the byte count picks the filter shift and the fixed predictor.
| Header bits | Bytes | Filter shift | Fixed predictor | Samples | Checked |
|---|---|---|---|---|---|
| 1 to 8 | 1 | 10 | p − p/16 | unsigned in the source WAV; the coded value is the sample minus 128 | real encoder and decoder (FFmpeg), 8 and 4 and 1 bits |
| 9 to 16 | 2 | 9 | p − p/32 | signed | real files; FFmpeg; 12 bits |
| 17 to 24 | 3 | 10 | p − p/32 | signed 24-bit | FFmpeg’s encoder and decoder; 20 and 24 bits |
| 25 to 32 | 4 | 12, and the delay line holds the plain last outputs, not differences | none: the whole last value | signed 32-bit, or the two integers of a float | round trips with the research encoder only (no outside decoder reads it) |
(Here p − p/16 means (p × 15) >> 4 with an arithmetic shift, so it
rounds towards minus infinity.) A header that says 12 bits is coded as 16: the values are just
smaller. The 4-byte row is what ttaenc 3.2 and 3.3 and ttalib 1.1 use (their filter table is
{10,1} {9,1} {10,1} {12,0}: shift, and whether the delay line holds differences) for floating-point files; they refuse a 32-bit
integer file (MAX_BPS is 32 there, and 32 bits means float), so integer samples of 25 to 31 bits are coded
the same way by the same code but no tool is known to have written one. ttaenc 3.4 and later stop at 24 bits, libttaR at 24, libtta 2.1 to 2.3
accept 16 to 24 only, FFmpeg’s encoder writes 24 at most and its decoder rejects 4-byte files (its table has a 4-byte shift of 12 but uses
differences in the delay line, so it would not decode the float files either).
Channels
The header field has 16 bits, so up to 65,535 channels can be written. Nothing in the file says which speaker a channel is (the TTA2 draft adds a mask for that). What is checked:
| Channels | Notes |
|---|---|
| 1 | No differences: the one channel is coded as it is. |
| 2 to 8 | FFmpeg assigns a layout from the count: 2 stereo; 3 front left, front right and low frequency; 4 quad; 5 none; 6 5.1 (back); 7 5.1 (back) and back centre; 8 7.1 (wide). Built files of 2 to 8 channels, written by FFmpeg’s encoder, decode identically here and in FFmpeg. |
| 9 to 16 | Built files of 9, 10, 12 and 16 channels, written by the research encoder, decode identically in FFmpeg and here. |
| 17 and more | FFmpeg’s decoder rejects more than 16. libttaR accepts any count. The explorer has no limit (a built file of 100 channels is checked); the waveform shows 8 channels at a time and the First channel option moves the window over the rest. Built files of 20 channels are checked against the original samples only. |
| Official library | libtta 2.1 to 2.3 refuse more than 6 channels (MAX_NCH) and fewer than 16 bits (MIN_BPS): files outside that exist (FFmpeg writes 8-bit and 8-channel files) but the official library does not read them. |
How the channels are coded together is on the prediction page.
Floating-point files (audio format 3)
ttaenc 3.2 and 3.3 (2004 and 2005) and ttalib 1.1 code 32-bit IEEE floats by splitting each one into two integers and coding
those as two channels: a file of N channels has 2N coded channels, the two of a sample next to each other in the bit
stream (channel 0 first, its second integer next, then channel 1 …). There is no channel differencing for floats. With
t the 32 bits of the float, hi = (t & 0x7FFF0000) >> 16 (the exponent and the top 7 bits of
the mantissa), lo = t & 0xFFFF and negative the sign bit:
first integer A = (hi or lo is not 0) ? hi − 0x3F80 : 0
second integer B = (reverse the 16 bits of lo, then + 1) × (negative ? −1 : 1)
and back: lo = |B| − 1, hi = A plus 0x3F80 when hi or lo is not 0, the float is
(hi << 16) | reverse16(lo) | sign. Both integers go through the 4-byte coder settings (shift 12, plain delay line, the whole last value as the
predictor) like any 4-byte sample. A quirk of the reference code, kept here: a float whose hi is exactly 0x3F80 and
lo is 0 (that is 1.0 and −1.0) codes as A = 0 and comes back as 0 and −0, because A = 0 is read as “no value”. Every other bit pattern,
denormals, huge values and not-a-numbers included, round-trips.
No real file of this kind is known and no decoder on this Mac reads one (FFmpeg refuses 4-byte files). The explorer’s decoder and the research
encoder were both written from the same source reading, so their agreement shows self-consistency, not an outside check; the source is
ttaenc 3.3’s compress and decompress (and the same in ttalib 1.1’s reader).
The TTA2 of ttaenc-dev 2.0 (2003)
The early development version of the codec (“TTA lossless compressor, development version 2.0-2003”, build of 8 January 2004, source on
SourceForge) writes a different file from TTA1, also signed TTA2. It has three compression levels and up to three cascaded filters,
and supports 8, 16, 24-bit integers and 32-bit floats. The layout (little-endian):
| Offset | Size | Field | Meaning |
|---|---|---|---|
| 0 | 3 | Signature | TTA |
| 3 | 1 | Format character | 2 |
| 4 | 2 | Compression level | 1 to 3 (2 is the default) |
| 6 | 2 | Audio format | 1 PCM or 3 IEEE float |
| 8 | 2 | Channels | |
| 10 | 2 | Bits per sample | 8, 16, 24; 32 for float |
| 12 | 4 | Sample rate | |
| 16 | 4 | Samples | Per channel |
There is no header CRC and no seek table. After the 20-byte header come blocks, one for every 1.0449 seconds
(floor(1.04489795918367346939 × rate) samples; the last holds the rest), each:
| Size | Field | Meaning |
|---|---|---|
| 4 | CRC-32 | Of the data that follows (the zip CRC-32, as in TTA1) |
| 4 | Data size | Bytes of data |
| size | Data | One bit stream, least significant bit first: every channel in turn, each coded for all the samples of the block |
Differences from TTA1 in the coding of a channel (the plane of a block’s samples for one channel; floats give two planes each, the second integers after all first ones):
- Entropy coder: one adaptive parameter
k, starting at 10, with a sum starting at 16 × 210. A valuev(folded as in TTA1) is the unary partv ≫ wk(that many 1 bits and a 0) andwklow bits, wherewk = k − 1(0 for k below 1). After each value:sum += v − (sum ≫ 4); ifk > 0andsum < 2wk+4thenk −= 1, else ifsum > 2wk+5thenk += 1. - Filters: up to three adaptive filters in a row on each plane, each of 8, 16 or 32 taps, in the table below. The fixed first-order
predictor of TTA1 (
p − p/16for 8-bit,p − p/32for 16 and 24, all ofpfor 32) comes first when encoding and last when decoding; the filters run in the opposite order when decoding (third, second, first). - The filter: sums
ordertaps of the delay line times the weights, adds a rounding value and shifts: the output is the input less (encoding) or plus (decoding) the shifted sum. The weights move by the stepdxin the direction of the sign of the filter’s residual (the coded value): with the residual negative they are increased by the steps, positive decreased. The steps of the four newest taps are±4, ±2, ±2, ±1from the sign of the delay line there, written((d ≫ 28) & 8) − 4,((d ≫ 29) & 4) − 2,((d ≫ 29) & 4) − 2,((d ≫ 30) & 2) − 1: a negative value gives a positive step. In mode 0 the three newest delay-line entries are replaced by cascaded differences (as in TTA1); in mode 1 they stay plain. - Channels: the same differencing chain as TTA1, done on the whole block before coding.
| Stage | Level | 1 byte (8-bit) | 2 bytes (16-bit) | 3 bytes (24-bit) | 4 bytes (float) |
|---|---|---|---|---|---|
| 1 | 1 | 8 taps, shift 10, mode 0 | 8, 9, 0 | 8, 10, 0 | 8, 12, mode 1 |
| 1 | 2 | 8, 10, 0 | 8, 11, 0 | 8, 10, 0 | 16, 12, 1 |
| 1 | 3 | 8, 10, 0 | 8, 11, 0 | 8, 10, 0 | 32, 12, 1 |
| 2 | 1 | not used | |||
| 2 | 2 | 16, 10, 1 | 16, 9, 1 | 16, 10, 1 | not used |
| 2 | 3 | 32, 11, 1 | 32, 11, 1 | 32, 11, 1 | not used |
| 3 | 1 and 2 | not used | |||
| 3 | 3 | not used | 16, 9, 1 | 16, 10, 1 | not used |
(Taps, shift, mode.) A block’s CRC covers its data only, so a block is checked on its own; a damaged size loses every block after it, since blocks are found one after another. No real file of this format is known to exist (it is the output of a development build from 2004). This page and the explorer’s decoder follow that tool’s source only, and the research encoder that makes the explorer’s test files was written from the same reading, so the check shows the two agree with each other, not with the original program (nothing downloaded was built or run).
The TTA2 draft of the wiki
The format description on the authors’ site shows, beside TTA1, a second layout marked “in development”. No file of it is known and no tool read for this page writes or reads it (libttaR lists TTA2 and a Matroska form in a commented-out table). It is not the layout of the 2003 development tool above. What is described:
| Offset | Size | Field | Meaning |
|---|---|---|---|
| 0 | 4 | Signature | TTA2 |
| 4 | 2 | Channels | Number of channels |
| 6 | 2 | Bits per sample | |
| 8 | 4 | Sample rate | In hertz |
| 12 | 4 | Channel mask | Which speakers, see below |
| 16 | 8 | Samples | Per channel; 64 bits; may be 0 |
| 24 | 8 | Data size | Bytes of frames; may be 0 |
| 32 | 4 | CRC-32 | Of the first 32 bytes |
There is no audio format field. The frames follow the header. A frame is the coded bit stream, then the
end-of-frame signature, then a CRC-32. The wiki gives the signature only as a value of the bit stream,
0xFFFFFE, and does not fix a byte order; libttaR’s constant for it is the three bytes
FE FF FF. The explorer shows the wiki’s value and does not read this signature. The seek table is a footer after the last frame: the signature
FF FF FF, one 32-bit size for each frame, and a CRC-32. A frame is meant to be one
second long (the sample rate in samples), not 256/245 of it. The page says the seek table “must
have a number of seek-points equal to the number of frames”, and that a file with a damaged
table can be decoded only in “unseekable” mode, the same words as for TTA1.
The channel mask
One bit per speaker position, 15 of them, in this order (these are not the WAVE bit positions):
| Bit | Value | Position | Bit | Value | Position |
|---|---|---|---|---|---|
| 0 | 0x1 | Front left | 8 | 0x100 | Back centre |
| 1 | 0x2 | Front right | 9 | 0x200 | Side left |
| 2 | 0x4 | Front centre | 10 | 0x400 | Side right |
| 3 | 0x8 | Low frequency (LFE left) | 11 | 0x800 | Top front centre |
| 4 | 0x10 | Back left | 12 | 0x1000 | Top front left |
| 5 | 0x20 | Back right | 13 | 0x2000 | Top front right |
| 6 | 0x40 | Front left of centre | 14 | 0x4000 | Low frequency (LFE right) |
| 7 | 0x80 | Front right of centre |
The description names the constants TTA_FRONT_LEFT … TTA_LOW_FREQUENCY_RIGHT
and calls the arrangement “13.2”. A stereo file has mask 3.
The sample file made by hand for this site (hand-tta2-draft.tta, in the research
folder, not a real file) carries a header, 300 bytes of stand-in data and a footer of two seek
points; the explorer reads its header and footer and does not decode the data, because the
draft does not say how the values are coded (it may be the TTA1 coder, which this page cannot
confirm).
Draft only: no bitstream documented
The draft gives a header, a seek-table footer, an end-of-frame signature, a frame length and a CRC, and for what is inside a frame it says only “Frame data (bit stream)”, the same words as TTA1. Nothing says how samples, channels, predictor or entropy code differ. Every place that could hold more was looked at, and none does:
| Source | What it says about TTA2 frame coding |
|---|---|
| Tau Software wiki, “True Audio Codec Format” (tausoft.org/wiki; Internet Archive copies of 2 Dec 2015, 30 Dec 2015 (Russian), 2023) | The same header, footer and frame tables in every copy; the page was created 4 June 2015 and edited six more times in June 2015 (page history, 29 Dec 2016 copy). Text unchanged in 2015 and 2023. |
| Its older home, en.true-audio.com “TTA Lossless Audio Codec - Format Description” (Internet Archive: 24 Jun 2010 copy has no TTA2; 27 Jul 2010 copy has it, wiki revision 243) | The draft appeared between those dates. Copies of 2010 to 2015 (revisions 243, 266, 297) differ only in field names (“Data block size” became “Data size”), the channel mask note (2011: “from Wave Format Extensible”; 2015: “TTA channels location mask”) and the version wording. The frame row is “Frame data (bit stream)” in all of them. |
| The project’s original format page (true-audio.com codec.format, copies of 10 Oct 2004 and 14 May 2006, one history entry of 28 Mar 2006) | TTA1 only; no TTA2 and no other layout. |
| Hydrogenaudio, “TTA multiplatform library v2.0” (the developer’s posts) | 24 Oct 2010: TTA2 “will work with unknown PCM length” when reading from stdin, and the draft is linked for “proposals for better usability before it will be released”. 5 Jan 2011: TTA2 “will not be much better in compression”, is “just a new feature of libtta”, “mostly done” with no release date, and most of the TTA1 code is part of TTA2 too. Asked for a deadline for the TTA2 encoder (“I mean the new bitstream”), the developer’s reply ends “Yes, TTA2 a little bit better, but TTA1 has it's own little area of use too” (the last sentence of the reply, not an answer to a question about the bitstream). These posts describe the intent of the container (unknown length, footer seek table) and a small compression gain; they do not say whether the sample coding differs from TTA1. |
Official libtta 2.0 (Sep 2010) to 2.3, ttalib 1.1 (its TTA2Wav is a function name, “TTA to WAVE”) | No TTA2 signature or code; they read and write TTA1 only. |
| libttaR (Shane Seelig) | Defines the TTA2 signature, the seek-table and frame-footer signatures and the channel mask, and names formats for TTA2 and Matroska TTA2 in an enum; no coding for them. |
| MultimediaWiki | “TTA” has been a redirect to “True Audio” since 9 Oct 2006; that page is a stub (extension, TTA1 FOURCC) with no TTA2 text. The draft is on the authors’ own wiki, not on MultimediaWiki. |
FFmpeg (libavcodec/tta.c), Rockbox, foo_input_tta, MPlayer sample collection | TTA1 only; no TTA2 decoder and no TTA2 sample. |
| The 2003 development tool ttaenc-dev 2.0 | A different, older “TTA2” (signature, blocks, levels, no seek table); it does not match the draft’s header, so it is not the draft’s coding. |
What can be said: the draft is a proposal for a new container (64-bit lengths, a footer seek table so that a stream of unknown length can be written in one pass, a speaker mask, an end-of-frame mark), published in 2010 and never finished. The developer’s statement that the compression is not much different and that most TTA1 code is shared makes it likely, but does not prove, that the samples inside would be coded as in TTA1. No file, encoder, decoder or bitstream text for it exists in any source found, so this site does not decode it: reading the draft’s frame data as TTA1 would be a guess. If any such file is found, the explorer’s header and footer reading is ready for it.
Older versions and other containers
Every program below was read from its published source (SourceForge project “tta”, listing under tta/ttaenc-src, tta/libtta,
tta/ttalib-mswin); none was built or run.
| Release | Date | Layout | Samples | Notes |
|---|---|---|---|---|
| ttaenc-dev 2.0-2003 | build 8 Jan 2004 | TTA2 dev | 8, 16, 24-bit, 32-bit float | 3 levels; blocks with CRC; no seek table |
| ttaenc 3.2 | build 18 Oct 2004 | TTA1 | 8, 16, 24, float (format 3) | the TTA1 layout and filters of today; 4-byte setting {12, plain delay line} |
| ttaenc 3.3 | build 17 May 2005 | TTA1 | same | adds WAVE-extensible input and output |
| ttalib 1.1 | (Windows library) | TTA1 | same, float included | the same coder; reads and writes |
| ttaenc 3.4, 3.4.1 | 7 Jul 2007, 27 Jul 2007 | TTA1 | 8, 16, 24 (MAX_BPS 24) | float removed; 3.4.1 adds stdin/stdout |
| libtta 2.1, 2.2, 2.3 (official library) | 2011, 2014 | TTA1 | 16 to 24, at most 6 channels | formats 0, 1, 2; password; 32-bit frame-length arithmetic |
| FFmpeg, libttaR | 2006 on | TTA1 | 8, 16, 24 | see above |
The sources of libtta 2.1, 2.2 and 2.3 have the same limits (MIN_BPS 16, MAX_NCH 6, format 2 at most) and the same shift table {10, 9, 10}, and their
filter.h is the same file as 2.3’s apart from its include lines (compared line by line); 2.3 has skip_id3v2 with the footer flag. ttaenc 3.2’s
filters.h is the same as 3.3’s; 3.3 and 3.2 differ otherwise only in the WAVE-extensible handling. No release of ttaenc 3.x or libtta changed the coding of 8, 16 and 24-bit integers from what the pages here describe. Versions of the
codec before the 2003 development tool (TTA 1.x, 2.0 releases of the Windows players) have no published source found: those versions’ files, if different, are not described.
- ttaenc 3.4.1 (2007, the reference command-line tool): 8, 16 and 24-bit PCM,
the TTA1 layout described here, the same filter and predictor as today’s decoders. Its decoder skips an
ID3v2 tag in front and checks the header CRC. With a good seek table it replaces a frame that
fails its CRC with silence and goes on at the next frame; with a damaged table it warns and
decodes the frames one after the other (the “unseekable” mode), and stops at the first frame
whose CRC is wrong. Its test mode (
-t) checks the seek table and every frame’s CRC. - Earlier ttaenc releases (3.2 and 3.3): floating point as in its section; the change log of 3.4 (7 July 2007) says 32-bit floating-point support was removed. Every real file found (the FFmpeg and MPlayer samples) is a plain TTA1 file.
- libtta 2.1 to 2.3 (the official library): reads ID3v2 tags and, when the tag’s flags have bit 4 set (a footer), skips 10 more bytes
(ttaenc-dev 2.0 does the same; the explorer’s ID3v2 length counts the footer of a version 2.4 tag). It computes the frame length as
256 × rate ÷ 245in 32-bit unsigned arithmetic, so for a sample rate of 16,777,216 or more the product wraps and its frame length differs from the exact value used here and by FFmpeg (which refuses rates above 8,388,607). - In other containers FFmpeg’s decoder wants the 22-byte TTA1 header as its “extradata” and each frame, CRC included, as a packet (its own demuxer for .tta files does exactly that). How a Matroska file stores them was not checked.
Not described
Searched for this page: the Tau Software format pages (live site, which no longer serves them, and the Internet Archive copies), the SourceForge project “tta” (ttaenc 3.2, 3.3, 3.4, 3.4.1 and dev 2.0 sources, ttalib 1.1 source, libtta 2.1, 2.2 and 2.3 sources), the GitHub mirrors (gchudov/libtta, libttaR, ttaenc backups), FFmpeg’s source, MultimediaWiki (page and history), the Internet Archive copies of the draft’s two homes (en.true-audio.com 2010-2015, tausoft.org 2015-2023) and of the old true-audio.com format pages, the developer’s Hydrogenaudio posts, FFmpeg’s FATE suite and the MPlayer sample collection for files. The draft’s frame coding is not in any of them (see the evidence list). Not found: any file of audio format 3, of the 2003 TTA2, of the wiki’s TTA2 draft, or written by the Windows players of TTA 1.x or 2.x.
Known, not yet covered
- Reference: the floating-point coding and the 2003 TTA2 are described from the source of the tools that write them
(
ttaenc-3.3-src.zip,ttaenc-dev-2.0-2003.zip). No real file of either exists to compare with and nothing downloaded was run, so both rest on one reading of the code, which the explorer and its test encoder share. - Reference: the TTA2 draft’s end-of-frame signature has no confirmed byte order: the wiki gives only the value
0xFFFFFEand libttaR’s constant is the bytesFE FF FF; the pages say so. No file or coder of the draft exists to settle it. - Viewer: when the file is opened, every frame is CRC-32 checked and decoded (keeping nothing) to see that its coded data fits the header, up to the first 256 MiB of frames. Each frame that fails is one problem in the “Problems found” list (a file with 600 wrong CRCs lists 600, paged past 500), and selecting it opens that frame’s own node (in a file of more than 200,000 frames it selects the Frames node instead). The Checks text gives the same counts, and the Sound table says when the check stops at 256 MiB, so a problem later in a larger file is not reported. The Frames table’s verdict “right, but the data does not fit the header” is worked out only for the frames of the page shown, and only when the first frame failed to decode; the problem list has every frame.
Unknown
- Reference: the wiki’s TTA2 draft frame coding: draft only, no bitstream documented anywhere (evidence list); no release of any tool used it.
- Reference: files written by TTA 1.x and 2.x, and by the Windows plug-ins of the time, if their layout differs from TTA1: no source or file found.
- Reference: how libtta behaves with a 4-byte (25 to 32 bit) or floating-point stream: it refuses them (
MAX_BPS24), so there is nothing of the official library to compare the 4-byte coding with.