EvilEngine/Sound Format: Difference between revisions
Gamecube movie/incred/rats sample header
EnergyDrink (talk | contribs) mNo edit summary |
(Gamecube movie/incred/rats sample header) |
||
Line 9:
|subtitle=Sound/Streaming Sound
|type=[[Binary]]
|games=Scooby BFBB TSSM Incredibles ROTU RatProto}}
===GameCube===
Line 28:
|subtitle=Sound Info
|type=[[Binary]]
|games=Scooby BFBB TSSM Incredibles ROTU RatProto}}
===GameCube (Night of 100 Frights/Battle For Bikini Bottom)===
Line 55:
|}
===GameCube (Movie Game/Incredibles/Rise of the Underminer/Rat Proto)===
In those games, the SNDI contains not only the sound headers but also the entirety of the sound files themselves.
Line 110:
! Offset !! Type !! Variable !! Description
|-
| 0x00 || short || size ||
|-
| 0x02 || char[30] || soundName || Sample name in ASCII. Since each sample actually refers to multiple sounds and this is usually different from the actual sound names, this is likely leftover data and unused.
Line 122:
| 0x2C || int || loopEnd || End of loop in sample. Only refers to first sound in list. This is probably unused as each sound would require its own loopEnd.
|-
| 0x30 || int || sampleHeaderMode ||
|-
| 0x34 || int || deffreq || Always 32000. Does support other frequencies.
|-
| 0x38 || short || defvol || Always 255
|-
| 0x3A || short || defpan ||
|-
| 0x3C || short || defpri || Always 255
|-
| 0x3E || short || numchannels ||
|-
| 0x40 || float || minDistance || Always 1.0
|