Editing Snd0.at9

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
'''A'''daptive '''T'''ransform '''A'''coustic '''C'''oding (ATRAC) is a family of proprietary audio compression algorithms developed by Sony.
'''A'''daptive '''T'''ransform '''A'''coustic '''C'''oding (ATRAC) is a family of proprietary audio compression algorithms developed by Sony.
Audio middleware such as FMOD and Audiokinetic Wwise support it.


== Background Music ==
== Background Music ==
Line 7: Line 5:
*Number of channels: 1 or 2 (even when ATRAC9 itself supports mono, stereo, 4.0, 5.1 and 7.1)
*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).
*Limitations: maximum 2MB filesize (similar to PS Vita).
*http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/snd0.at9 sample


== Format ATRAC9 ==
== Format ATRAC9 ==
Line 14: Line 10:
{| class="wikitable" style="text-align: center;"
{| class="wikitable" style="text-align: center;"
|-
|-
! style="background-color:#564147; color:#FFFFFF;" |'''Offset'''
| style="background-color:#564147; color:#FFFFFF;" |'''Offset'''
! style="background-color:#564147; color:#FFFFFF;" |'''Size'''
| style="background-color:#564147; color:#FFFFFF;" |'''Size'''
! style="background-color:#564147; color:#FFFFFF;" |'''Example'''
| style="background-color:#564147; color:#FFFFFF;" |'''Example'''
! style="background-color:#564147; color:#FFFFFF;" |'''Value (conversion)'''  
| style="background-color:#564147; color:#FFFFFF;" |'''Value (conversion)'''  
! style="background-color:#564147; color:#FFFFFF;" |'''Notes'''
| style="background-color:#564147; color:#FFFFFF;" |'''Notes'''
|-
|-
|colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">RIFF chunk descriptor</span>
|colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">RIFF chunk descriptor</span>
Line 24: Line 20:
| 0x00 || 0x04 || 52 49 46 46 || "RIFF" || Magic
| 0x00 || 0x04 || 52 49 46 46 || "RIFF" || Magic
|-
|-
| 0x04 || 0x04 || 20 B3 18 00 || 00 18 B3 20 || File Size
| 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
| 0x08 || 0x04 || 57 41 56 45 || "WAVE" || ID
Line 39: 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;"
|-
! colspan="3"| Supported (kHz)
|-
| 12 || 24 || 48 kHz
|-
|}
|-
|-
| 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) / Sample per block (1024)
{| class="wikitable" style="text-align: center;"
|-
! colspan="17"| Supported (kilobits per second)
|-
| PS4 || 48 || 60 || 72 || 84 || 96 || 120 || 144 || 168 || 192 || 240 || 288 || 300 || 336 || 360 || 420 || 504
|-
| PSVITA || 48 || 60 || 72 || 84 || 96 || 120 || 144 || 168 || 192
|-
|}
|-
| 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) || [[Template:Wave Channel Mask|Channel Mask]] (position of the speakers)
|-
| 0x2C || 0x10 || - || - || Codec identifier: {{G|GUID}}
|-
|-
| 0x3C || 0x04 || 01 00 00 00 || - || Version
| 0x20 || 0x04 || 80 01 00 00 || 384 || block align
|-
|-
|}
|}
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)