-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.txt
50 lines (41 loc) · 1.79 KB
/
docs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Rhythm Tengoku SFX Index.
by Malalaika
Start Location: AA44FC
General Structure:
24 (0x18) bytes long.
LENGTH, SAMPLERATE, PITCH, LOOPPOINTS, LOOPPOINTL, START
LENGTH: A DWORD that describes how long the sample is in bytes.
SAMPLERATE: A DWORD that defines the samplerate of the sample. It is usually 13379 (0x3443).
PITCH: A DWORD that labels the pitch of the sample. The label of the sample must match the actual pitch of the sample.
(12*n) + 0 = C
(12*n) + 1 = C#
(12*n) + 2 = D
(12*n) + 3 = D#
(12*n) + 4 = E
(12*n) + 5 = F
(12*n) + 6 = F#
(12*n) + 7 = G
(12*n) + 8 = G#
(12*n) + 9 = A
(12*n) + 10 = A#
(12*n) + 11 = B
LOOPPOINTS/LOOPPOINTL: Two DWORDs that describe the start and end of a looppoint, in bytes, respectively.
*Still researching
START: A pointer pointing to the start of the sample in GBA terms, a DWORD that tells the location of the SFX in bytes.
Rhythm Tengoku MIDI Sequence Index
by CebolaBros64
Start Location (Offset): 0xA9B078
General Structure:
24 (0x18) bytes long.
START, ...
START: A pointer to the start offset of the MIDI file.
(Works the same way as the START attribute in the SFX index;
for more info on GBA pointers: https://www.pokecommunity.com/showthread.php?t=167212)
$A9B4D8 - offset for space dance entry in MIDI index
$AA44FC - offset for SFX index
$AA9F2C - offset for jukebox Remix 1 midi file (first midi file in the ROM)
^ 2C9FAA08 - converted to a GBA pointer
$AE4CF4 - offset for Tap Trial 2 midi file
^ F44CAE08 - converted to a GBA pointer
$AEA3C0 - offset for Space Dance midi file
^ C0A3AE08 - converted to a GBA pointer