-
Notifications
You must be signed in to change notification settings - Fork 10
/
PSG2.txt
68 lines (66 loc) · 4.44 KB
/
PSG2.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Read/Write Data
ADDR. D7 D6 D5 D4 D3 D2 D1 D0 COMMENT
_____ __________________________________________________ _______________________
| |
+00 | Fine Tune |
|__________________________________________________| Channel-A Tone Period
| | | / Duty cycle
+01 | Duty cycle | Coarse Tune |
____ |________________________|_________________________| _______________________
| |
+02 | Fine Tune |
|__________________________________________________| Channel-B Tone Period
| | | / Duty cycle
+03 | Duty cycle | Coarse Tune |
____ |________________________|_________________________| _______________________
| |
+04 | Fine Tune |
|__________________________________________________| Channel-C Tone Period
| | | / Duty cycle
+05 | Duty cycle | Coarse Tune |
____ |________________________|_________________________| _______________________
| | |
+06 |=================| Period Control | Noise Period
____ |_________________|________________________________| _______________________
| | | |
+07 |===========| /Noise | /Tone | /Enable
____ |___________|___________________|__________________| _______________________
| | | | | |
+08 | L | R |PHRST| M | Level | Channel-A Amplitude / Phase reset / Panpot
|_____|_____|_____|______|_________________________|
| | | | | |
+09 | L | R |PHRST| M | Level | Channel-B Amplitude / Phase reset / Panpot
|_____|_____|_____|______|_________________________|
| | | | | |
+0A | L | R |PHRST| M | Level | Channel-C Amplitude / Phase reset / Panpot
____ |_____|_____|_____|______|_________________________| _______________________
| |
+0B | Fine Tune |
|__________________________________________________| Envelop Period
| |
+0C | Coarse tune |
____ |__________________________________________________| _______________________
| | | | | | |
+0D | RST | User def.#(0 ~ 5) | CON | ATT | ALT | HLD | Envelop Shape Cycle
____ |_____|___________________|_____|_____|_____|______| _______________________
| |
+0E | Wave Data | Define Wave data
____ |__________________________________________________| _______________________
| | | |
+0F | Ch.(0~2) | Left Mul(0~7) | Right Mul(0~7) | Channel:2bit Left:3bit Right:3bit
____ |___________|___________________|__________________| _______________________
Duty cycle
7:1/8 6:2/8 5:3/8 4:4/8 3:5/8 2:6/8 1:7/8 duty. 0:8/8 Pure square wave.
8:Triangle Wave 9:Saw Wave 10,11,12,13,14,15:user0 ~ user5
L/R panpot
0:LR Enable 1:R Enable 2:L Enable 3:LR Enable
L(M)ul
Left Panpot Multiple 0:x1.0 1:x0.875 2:x0.750 3:x0.625 4:x0.500 5:x0.375 6:x0.250 7:x0.125
R(M)ul
Right Panpot Multiple 0:x1.0 1:x0.875 2:x0.750 3:x0.625 4:x0.500 5:x0.375 6:x0.250 7:x0.125
User define wave form(0x0E)
RST : reset setting position
User def.# : user define wave number 0 ~ 5 (select duty cycle 10~15)
Wave Data : 0 ~ 15 (Write 64 times)
ex) set user0 wave form
0x80 0x01 0x02 ... 0x0f ( 64 data )