AGSC (File Format): Difference between revisions

imported>Jackoalan
imported>Jackoalan
Line 744: Line 744:
| 0x0
| 0x0
| 4
| 4
| '''Table size'''; (usually 0x10)
| '''Table Data Size'''
|-
|-
| 0x4
| 0x4
Line 759: Line 759:


===== ADSR =====
===== ADSR =====
When the size of the table data is exactly 8, it may represent ADSR envelopes with this structure:


{| class="wikitable"
{| class="wikitable"
Line 803: Line 805:
===== Curves =====
===== Curves =====


To express a curve, the table data is simply a 128-element table of <code>uint8_t</code> values  
To express a volume curve, the table data is simply an arbitrarily-sized table of <code>uint8_t</code> values


==== Keymaps ====
==== Keymaps ====
Anonymous user