This encodes music.wav at 128 kbps with a loop from sample 0 to 882,000.
: A 64-bit (x64) Windows environment is required; the application generally does not run on 32-bit (x86) systems.
Decoding is lossless relative to the compressed data (i.e., you get back the PCM that was encoded, not the original pre-encode WAV). at9tool.exe
is a specialized command-line utility used primarily by game developers and modders to encode and decode Sony's proprietary ATRAC9 audio format. While ATRAC9 is the standard audio codec for the PlayStation Vita and PlayStation 4 , the tool itself is frequently utilized in community modding projects for games like Persona 4 Golden and Persona 3 Portable to replace background music or theme audio. Key Functions of at9tool.exe
At its core, at9tool.exe is a command-line based encoder and decoder utility for the audio codec. ATRAC9 is a proprietary audio compression algorithm developed by Sony Interactive Entertainment. It is the ninth generation of Sony’s ATRAC family, designed to deliver high-fidelity audio at relatively low bitrates. This encodes music
Unlike standard converters, at9tool.exe can define loop points within the audio file, ensuring background music loops seamlessly in-game. Technical Requirements
Many games require seamless looping of background music. AT9 supports embedded loop metadata. When using -loop , the values are in . For example, if your WAV is 44.1 kHz stereo and you want a 2-second intro before looping a 10-second segment: is a specialized command-line utility used primarily by
Working in the command line can be tedious. If you prefer a user interface, check out these community projects: ATRACTool-Reloaded
To use at9tool.exe effectively, you must understand its key parameters.
at9tool.exe -e -l song.wav song.at9
If you have ever extracted sound files from a PlayStation 4 or PlayStation Vita game, or worked with audio for the PS4, PS5, or PS Vita homebrew, you have likely encountered .at9 files. at9tool.exe is the official (or officially reverse-engineered) tool to create these files from standard PCM (WAV) inputs.