Crystal Beans from Dungeon Explorer/Instruments: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page)
 
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpage}}
{{Infobox table|name=Instruments
|game=Crystal Beans From Dungeon Explorer
|loc=ROM
|start=0x12A100
|end=0x12A4BF
|numentries=60
|entrylength=16 (0x10)
|totallength=960 bytes (0x3C0)
}}
The '''Instruments''' describes the sample and effect used to produce a sound.
{{clear}}
==Format==
==Format==
===Unknown field 1===
{{table el|len=1 bytes (0x1)|loc=0x0|valrange=0-1 (0x0-0x1)}}
===Unknown field 2===
{{table el|len=1 bytes (0x1)|loc=0x1|valrange=0 (0x0)}}
===BRR sample pointer===
{{table el|len=3 bytes (0x3)|loc=0x2-0x4|valrange=pointer}}
24-bits pointer to BRR sample using $12A100 as the base address
===Unknown field 3===
{{table el|len=1 bytes (0x1)|loc=0x5|valrange=0 (0x0)}}
===SRCN data===
{{table el|len=1 bytes (0x1)|loc=0x6|valrange=0 (0x0)}}
Copied to SPC SRCN register
===ADSR1 data===
{{table el|len=1 bytes (0x1)|loc=0x7|valrange=?}}
Copied to SPC ADSR1 register
===ADSR2 data===
{{table el|len=1 bytes (0x1)|loc=0x8|valrange=?}}
Copied to SPC ADSR2 register
===GAIN data===
{{table el|len=1 bytes (0x1)|loc=0x9|valrange=?}}
Copied to SPC GAIN register
===Unknown field 4===
{{table el|len=1 bytes (0x1)|loc=0xA|valrange=?}}
===Unknown field 5===
{{table el|len=1 bytes (0x1)|loc=0xB|valrange=?}}
===Sample restart position===
{{table el|len=2 bytes (0x2)|loc=0xC|valrange=?}}
Sample restart position from start of sample


Offset from start of structure (Size)
===Sample length===
* <tt>00 (1)</tt> = Unknown field
{{table el|len=2 bytes (0x2)|loc=0xE|valrange=?}}
* <tt>01 (1)</tt> = Unknown field
* <tt>02 (3)</tt> = 24-bits pointer to BRR sample using $12A100 as the base address
* <tt>05 (1)</tt> = Unknown field
* <tt>06 (1)</tt> = Copied to SPC SRCN register
* <tt>07 (1)</tt> = Copied to SPC ADSR1 register
* <tt>08 (1)</tt> = Copied to SPC ADSR2 register
* <tt>09 (1)</tt> = Copied to SPC GAIN register
* <tt>0A (1)</tt> = Unknown field
* <tt>0B (1)</tt> = Unknown field
* <tt>0C (2)</tt> = Sample restart position from start of sample
* <tt>0E (2)</tt> = Sample length

Latest revision as of 21:03, 28 January 2024

This is a sub-page of Crystal Beans from Dungeon Explorer.

Instruments
Game Crystal Beans From Dungeon Explorer
Start Address 0x12A100
End Address 0x12A4BF
# of Entries 60
Entry Length 16 (0x10)
Total Length 960 bytes (0x3C0)
Back to the ROM map

The Instruments describes the sample and effect used to produce a sound.

Format

Unknown field 1

Unknown field 2

BRR sample pointer

24-bits pointer to BRR sample using $12A100 as the base address

Unknown field 3

SRCN data

Copied to SPC SRCN register

ADSR1 data

Copied to SPC ADSR1 register

ADSR2 data

Copied to SPC ADSR2 register

GAIN data

Copied to SPC GAIN register

Unknown field 4

Unknown field 5

Sample restart position

Sample restart position from start of sample

Sample length