AGSC (File Format): Difference between revisions
→Tables
imported>Jackoalan |
imported>Jackoalan (→Tables) |
||
Line 744: | Line 744: | ||
| 0x0 | | 0x0 | ||
| 4 | | 4 | ||
| '''Table | | '''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 | To express a volume curve, the table data is simply an arbitrarily-sized table of <code>uint8_t</code> values | ||
==== Keymaps ==== | ==== Keymaps ==== |