Add OPL volume level research data.

Subversion-branch: /research
Subversion-revision: 1486
This commit is contained in:
Simon Howard 2009-03-16 22:21:02 +00:00
parent 53b05f9349
commit 401de76a45
14 changed files with 200026 additions and 0 deletions

View file

@ -16,3 +16,7 @@ Research data from investigating Chocolate Doom OPL MIDI playback.
volume Examination of how scale level values are affected by
menu volume setting.
level Constructed MIDI to play a note at each volume level
in order to determine the register values for MIDI
volumes.

4
opl/level/README Normal file
View file

@ -0,0 +1,4 @@
Test MIDI file to play a note at each volume level in sequence, to see how
MIDI volumes are mapped to register values.

BIN
opl/level/e1m1-cropped.mid Normal file

Binary file not shown.

42
opl/level/gen-sequence Executable file
View file

@ -0,0 +1,42 @@
#!/usr/bin/env ruby
NOTE=0x20
for i in 0...128
# set volume to zero
putc 0x00
putc 0xb8
putc 0x07
putc 0x00
# note on
putc 0x0f
putc 0x98
putc NOTE
putc 0x7b
# Set volume
putc 0x00
putc 0xb8
putc 0x07
putc i
# delay
putc 0x0f
# note off
putc 0x88
putc NOTE
putc 0x00
end
# end of track
putc 0x00
putc 0xff
putc 0x2f
putc 0x00

BIN
opl/level/levels.mid Normal file

Binary file not shown.

File diff suppressed because it is too large Load diff

63042
opl/level/levels.vol_07.txt Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

63362
opl/level/levels.vol_12.txt Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

62882
opl/level/levels.vol_15.txt Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,128 @@
3f
3f
3e
3d
3c
3b
3a
3a
39
38
37
37
36
35
34
34
33
32
32
31
30
2f
2f
2e
2d
2d
2c
2b
2a
29
28
27
27
26
25
24
23
22
22
21
20
20
1f
1e
1e
1d
1c
1c
1b
1b
1a
1a
19
18
18
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17

View file

@ -0,0 +1,128 @@
3f
3f
3e
3d
3c
3b
3a
3a
39
38
37
37
36
35
34
34
33
32
32
31
30
2f
2f
2e
2d
2d
2c
2b
2a
29
28
27
27
26
25
24
23
22
22
21
20
20
1f
1e
1e
1d
1c
1c
1b
1b
1a
1a
19
18
18
17
17
16
16
16
16
15
15
14
14
13
13
12
12
12
11
11
10
10
10
0f
0f
0f
0e
0e
0e
0d
0d
0d
0c
0c
0c
0b
0b
0b
0a
0a
0a
09
09
09
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08
08

View file

@ -0,0 +1,128 @@
3f
3f
3e
3d
3c
3b
3a
3a
39
38
37
37
36
35
34
34
33
32
32
31
30
2f
2f
2e
2d
2d
2c
2b
2a
29
28
27
27
26
25
24
23
22
22
21
20
20
1f
1e
1e
1d
1c
1c
1b
1b
1a
1a
19
18
18
17
17
16
16
16
16
15
15
14
14
13
13
12
12
12
11
11
10
10
10
0f
0f
0f
0e
0e
0e
0d
0d
0d
0c
0c
0c
0b
0b
0b
0a
0a
0a
09
09
09
08
08
08
08
07
07
07
07
06
06
06
05
05
05
05
04
04
04
04
03
03
03
03
03
02
02
02
02
02
02
02
02