Generic RWAC Reverb IR Content

From Burnout Wiki
GenericRwacReverbIRContent
aka Generic Reverb IR Content
No Example
Resource names IR1
Type ID 0xA028
Category Sound
Memory
distribution
Main Memory only
Imports Unknown
Imported by Unknown
Editor
available?
No

Reverb IR content is an audio resource type found only in Burnout 5 (2007-02-22 build). The only resource is IR1, contained in SOUND/IR.BUNDLE.

Assets are generated using EA Sound Exchange with the impresponse sample format specified. This creates an IRF (Impulse Respose File). Options include irfsamplesperblock<samples> and irfpercentfreqcut<percent>, which specifies the number of samples per FFT block and the percentage frequency cut of the spectrum in the IRF, respectively.

Structures

Note: Resources begin with a Binary File header.

Header

Appears to match a section of ReverbIR1::FilterInfo.

Offset Length Type Name Description Comments
0x0 0x4 int id Magic irf1
0x4 0x4 int version Version 1
0x8 0x4 int numChannels Number of channels
0xC 0x4 int numSamplesPerChannel Number of samples per channel
0x10 0x4 int sampleRate Sample rate (Hz)
0x14 0x4 int samplesPerBlock Number of samples per block
0x18 0x4 int samplesPerBlockRetained Number of retained samples per block
0x1C 0x4 int samplesPerFFTRetained Number of retained samples per fast Fourier transform

Audio data immediately follows this. Its codec is unknown, but it appears to be uncompressed.