AGSC (File Format): Difference between revisions

>MrSinistar
>MrSinistar
Line 726: Line 726:
|}
|}


The first table terminates with 0xFFFFFFFF.
The first table terminates with 0xFFFFFFFF. Then there's 2 bytes that represent the number of soundmacros, followed by two bytes of 0x00s for padding.




Line 736: Line 736:
| 0x0
| 0x0
| 2
| 2
| '''Number of soundmacros'''
| '''ID'''; referenced in [[EVNT]]
|-
|-
| 0x2
| 0x2
| 2
| 2
| '''Padding'''
| {{unknown|'''Unknown'''}}; looks like another ID
|-
|-
| 0x4
| 0x4
| 2
| '''ID'''; referenced in [[EVNT]]
|-
| 0x6
| 2
| {{unknown|'''Unknown'''}}; looks like another ID
|-
| 0x8
| 1
| 1
| '''Max number of voices'''; The maximum of voices allowed for this soundeffect.
| '''Max number of voices'''; The maximum of voices allowed for this soundeffect.
|-
|-
| 0x9
| 0x5
| 1
| 1
| '''Priority'''; voices are limited, so priority is used to play more important sounds over others
| '''Priority'''; voices are limited, so priority is used to play more important sounds over others
|-
|-
| 0xA
| 0x6
| 1
| 1
| '''Definite Velocity'''; volume (usually 7F)
| '''Definite Velocity'''; volume (usually 7F)
|-
|-
| 0xB
| 0x7
| 1
| 1
| '''Panning'''
| '''Panning'''
|-
|-
| 0xC
| 0x8
| 2
| 2
| '''Definite Key'''; The default pitch (usually 0x3C00...the second byte may possibly be the MIDI channel)
| '''Definite Key'''; The default pitch (usually 0x3C00...the second byte may possibly be the MIDI channel)
Anonymous user