Snd0.at9: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 1: | Line 1: | ||
'''A'''daptive '''T'''ransform '''A'''coustic '''C'''oding (ATRAC) is a family of proprietary audio compression algorithms developed by Sony. | |||
== Background Music == | == Background Music == | ||
Format: ATRAC9 | Format: ATRAC9: | ||
*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). | |||
{| class="wikitable" style="text-align: center;" | |||
|- | |||
| style="background-color:#564147; color:#FFFFFF;" |'''Offset''' | |||
| style="background-color:#564147; color:#FFFFFF;" |'''Size''' | |||
| style="background-color:#564147; color:#FFFFFF;" |'''Example''' | |||
| style="background-color:#564147; color:#FFFFFF;" |'''Value (conversion)''' | |||
| style="background-color:#564147; color:#FFFFFF;" |'''Notes''' | |||
|- | |||
|colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">RIFF chunk descriptor</span> | |||
|- | |||
| 0x00 || 0x04 || 52 49 46 46 || "RIFF" || Magic | |||
|- | |||
| 0x04 || 0x04 || 20 B3 18 00 || 00 18 B3 20 || File Size (+1 byte 0x00 null terminator) | |||
|- | |||
| 0x08 || 0x04 || 57 41 56 45 || "WAVE" || ID | |||
|- | |||
|colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">fmt sub-chunk</span> | |||
|- | |||
| 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) || Sample Frequency | |||
|- | |||
| 0x1A || 0x04 || 00 00 50 46 || 18000 || Byte rate: 144 kbps (18000/125 bytes per second) | |||
Block Align (384) * Sampling Frequency (48000) / Sample per block (1024) | |||
|- | |||
| 0x20 || 0x04 || 80 01 00 00 || 384 || block align | |||
|- | |||
|} | |||
{{File Formats}} | {{File Formats}} | ||
<noinclude>[[Category:Main]]</noinclude> | <noinclude>[[Category:Main]]</noinclude> |
Revision as of 20:29, 29 July 2014
Adaptive Transform Acoustic Coding (ATRAC) is a family of proprietary audio compression algorithms developed by Sony.
Background Music
Format: ATRAC9:
- 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).
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 (+1 byte 0x00 null terminator) |
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) | Sample Frequency |
0x1A | 0x04 | 00 00 50 46 | 18000 | Byte rate: 144 kbps (18000/125 bytes per second)
Block Align (384) * Sampling Frequency (48000) / Sample per block (1024) |
0x20 | 0x04 | 80 01 00 00 | 384 | block align |