Open main menu

Difference between revisions of "AGI/Specifications/Sound"

m
→‎AGI v1.12 sound format: clarify that it's Winnie DOS
m (→‎AGI v1.12 sound format: clarify that it's Winnie DOS)
Line 252: Line 252:
<span id="AGI112"></span>
<span id="AGI112"></span>
==AGI v1.12 sound format==
==AGI v1.12 sound format==
The sound format used in AGI version 1.12 (and also in the pre-AGI game Winnie the Pooh in the Hundred Acre Wood) is less structured from the format described above for AGIv2 and AGIv3.
The sound format used in AGI version 1.12 (and also in the DOS version of the pre-AGI game Winnie the Pooh in the Hundred Acre Wood) is less structured from the format described above for AGIv2 and AGIv3.


In this format the note data is separated to "rows" of fixed duration of 2. Each row contains the data for all the four generators and ends with the byte 0. The data consists simply of register values that the player dumps to the sound chip. Because of this they can be in arbitrary order. An exception is the frequency updates that need two bytes and the chip expects them to come in the correct order. Often a row contains only one 0 which means the chip state is not updated on this row.
In this format the note data is separated to "rows" of fixed duration of 2. Each row contains the data for all the four generators and ends with the byte 0. The data consists simply of register values that the player dumps to the sound chip. Because of this they can be in arbitrary order. An exception is the frequency updates that need two bytes and the chip expects them to come in the correct order. Often a row contains only one 0 which means the chip state is not updated on this row.
2,051

edits