Snd0.at9: Difference between revisions
Jump to navigation
Jump to search
m (→Format ATRAC9) |
m (→Format ATRAC9) |
||
Line 35: | Line 35: | ||
|- | |- | ||
| 0x18 || 0x04 || 80 BB 00 00 || 48000 (0xBB80) || 48 [http://en.wikipedia.org/wiki/Hertz#SI_multiples kHz] Sample Frequency | | 0x18 || 0x04 || 80 BB 00 00 || 48000 (0xBB80) || 48 [http://en.wikipedia.org/wiki/Hertz#SI_multiples kHz] Sample Frequency | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
Line 43: | Line 42: | ||
|- | |- | ||
|} | |} | ||
|- | |- | ||
| 0x1A || 0x04 || 00 00 50 46 || 18000 || Byte rate: 144 [http://en.wikipedia.org/wiki/Data_rate_units#Kilobit_per_second kbps] (18000/125 bytes per second) | | 0x1A || 0x04 || 00 00 50 46 || 18000 || Byte rate: 144 [http://en.wikipedia.org/wiki/Data_rate_units#Kilobit_per_second kbps] (18000/125 bytes per second) | ||
*Block Align (384) * Sampling Frequency (48000) / Samples per block (1024) = 18000 | *Block Align (384) * Sampling Frequency (48000) / Samples per block (1024) = 18000 | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
Line 57: | Line 54: | ||
|- | |- | ||
|} | |} | ||
|- | |- | ||
| 0x20 || 0x02 || 80 01 || 384 || Audio block align | | 0x20 || 0x02 || 80 01 || 384 || Audio block align |
Revision as of 12:02, 9 March 2015
Adaptive Transform Acoustic Coding (ATRAC) is a family of proprietary audio compression algorithms developed by Sony.
Background Music
- Sampling Frequency: 48kHz
- Number of channels: 1 or 2 (even when ATRAC9 itself supports mono, stereo, 4.0, 5.1 and 7.1)
- Limitations: maximum 2MB filesize (similar to PS Vita).
Format ATRAC9
Offset | Size | Example | Value (conversion) | Notes | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RIFF chunk descriptor | ||||||||||||||||||||||||||||||||||||||||||||||||
0x00 | 0x04 | 52 49 46 46 | "RIFF" | Magic | ||||||||||||||||||||||||||||||||||||||||||||
0x04 | 0x04 | 20 B3 18 00 | 00 18 B3 20 | File Size | ||||||||||||||||||||||||||||||||||||||||||||
0x08 | 0x04 | 57 41 56 45 | "WAVE" | ID | ||||||||||||||||||||||||||||||||||||||||||||
fmt sub-chunk | ||||||||||||||||||||||||||||||||||||||||||||||||
0x0C | 0x04 | 66 6D 74 20 | "fmt " | chunk specifying the data format | ||||||||||||||||||||||||||||||||||||||||||||
0x10 | 0x04 | 34 00 00 00 | 52 bytes | fmt chunk size | ||||||||||||||||||||||||||||||||||||||||||||
0x14 | 0x02 | FE FF | FF FE | format tag | ||||||||||||||||||||||||||||||||||||||||||||
0x16 | 0x02 | 02 00 | 2 | Number of channels | ||||||||||||||||||||||||||||||||||||||||||||
0x18 | 0x04 | 80 BB 00 00 | 48000 (0xBB80) | 48 kHz Sample Frequency
| ||||||||||||||||||||||||||||||||||||||||||||
0x1A | 0x04 | 00 00 50 46 | 18000 | Byte rate: 144 kbps (18000/125 bytes per second)
| ||||||||||||||||||||||||||||||||||||||||||||
0x20 | 0x02 | 80 01 | 384 | Audio block align | ||||||||||||||||||||||||||||||||||||||||||||
0x22 | 0x02 | 00 00 | 0 | Quantifying bit number | ||||||||||||||||||||||||||||||||||||||||||||
0x24 | 0x02 | 22 00 | 34 | Extension number | ||||||||||||||||||||||||||||||||||||||||||||
0x26 | 0x02 | 00 04 | 1024 | Samples per block | ||||||||||||||||||||||||||||||||||||||||||||
0x28 | 0x04 | 03 00 00 00 | 0x03 (00000011) | Channel Mask (position of the speakers) | ||||||||||||||||||||||||||||||||||||||||||||
0x2C | 0x10 | - | - | Codec identifier: GUID | ||||||||||||||||||||||||||||||||||||||||||||
0x3C | 0x04 | 01 00 00 00 | - | Version |