BAROC (File Format)
From Wexos's Wiki
(Redirected from BAROC)
BAROC (Binary Audio Roll-Off Curve) is a file format used in Nintendo Switch games. It controls audio frequency roll-off.
File Format
The BAROC file format is a very simple format and consists of the following structure:
Offset | Type | Description |
---|---|---|
0x00 | Char[4] | File magic. Always AROC in ASCII. |
0x04 | UInt16 | Byte-order-mark. FE FF for big endian, FF FE for little endian. |
0x06 | UInt16 | Version number. |
0x08 | Int32 | Curve type:
|
0x0C | Float | Roll-off start. |
0x10 | Float | Roll-off end. 0 if it lasts until the end of the sound? |
0x14 | Float | Hold distance. |
0x18 | Float | Unit distance. |
0x1C | Float | Decay ratio. |
0x20 | Float | Culling start distance. |
Version List
Tools
The following tools can handle BAROC files:
- (none)