Переглянути джерело

tiny/README.md : Updates

master
kevin 3 роки тому
джерело
коміт
d3ac756bbd
1 змінених файлів з 32 додано та 3 видалено
  1. 32
    3
      control/tiny/README.md

+ 32
- 3
control/tiny/README.md Переглянути файл

3
 
3
 
4
 Arguments in curly braces are optional.
4
 Arguments in curly braces are optional.
5
 
5
 
6
+------------------------------------------------------------------------------------------
7
+
8
+Hold PWM Duty Cycle
6
 
9
 
7
 Function                 | Opcode | Arguments
10
 Function                 | Opcode | Arguments
8
 -------------------------|--------|---------------------------
11
 -------------------------|--------|---------------------------
16
 
19
 
17
 PWM frequency and period for each possible (div) setting.
20
 PWM frequency and period for each possible (div) setting.
18
 
21
 
19
-Reg.  |      | Base        | 
20
 Value | Div  | Frequency   | Period
22
 Value | Div  | Frequency   | Period
21
 ------|------|-------------|-------
23
 ------|------|-------------|-------
22
  1    |    1 |    16    M  | 62.5 n 
24
  1    |    1 |    16    M  | 62.5 n 
35
 14    | 8192 | 1953.125 Hz |  512 u
37
 14    | 8192 | 1953.125 Hz |  512 u
36
 15    |16384 | 976.6625 Hz | 1024 u 
38
 15    |16384 | 976.6625 Hz | 1024 u 
37
 
39
 
40
+------------------------------------------------------------------------------------------
41
+
42
+Note-on Velocity
38
 
43
 
39
 Function                 | Opcode | Arguments
44
 Function                 | Opcode | Arguments
40
 -------------------------|--------|---------------------------
45
 -------------------------|--------|---------------------------
48
 The (vel) value is translated to an attack pulse duration
53
 The (vel) value is translated to an attack pulse duration
49
 by looking up the pulse tick count in the velocity table.
54
 by looking up the pulse tick count in the velocity table.
50
 
55
 
56
+------------------------------------------------------------------------------------------
57
+
58
+Note-on Microseconds
51
 
59
 
52
 Function                 | Opcode | Arguments
60
 Function                 | Opcode | Arguments
53
 -------------------------|--------|-------------------------------------------------
61
 -------------------------|--------|-------------------------------------------------
67
     usecs = (pulse-ticks * 1e6)*(256/16e6)
75
     usecs = (pulse-ticks * 1e6)*(256/16e6)
68
 
76
 
69
 
77
 
78
+------------------------------------------------------------------------------------------
79
+
80
+Note-off
81
+
70
 Function                 | Opcode | Arguments
82
 Function                 | Opcode | Arguments
71
 -------------------------|--------|---------------------------
83
 -------------------------|--------|---------------------------
72
 Note off                 |   3    | None
84
 Note off                 |   3    | None
74
 Turn off a sounding note by settting the hold-voltage to 0.
86
 Turn off a sounding note by settting the hold-voltage to 0.
75
 
87
 
76
 
88
 
89
+------------------------------------------------------------------------------------------
90
+
91
+Set Read Address
92
+
77
 Function                 | Opcode | Arguments
93
 Function                 | Opcode | Arguments
78
 -------------------------|--------|---------------------------
94
 -------------------------|--------|---------------------------
79
 Set read address         |    4   | (src) {(addr)}
95
 Set read address         |    4   | (src) {(addr)}
84
 Register File, MIDI velocity table or EEPROM.
100
 Register File, MIDI velocity table or EEPROM.
85
 See the _Memory Location Id_ table below for the (src) id values.
101
 See the _Memory Location Id_ table below for the (src) id values.
86
 
102
 
87
-
88
 Arguments   | Range | Default | Note
103
 Arguments   | Range | Default | Note
89
 ------------|-------|---------|-------------------------------------------------------
104
 ------------|-------|---------|-------------------------------------------------------
90
 (src)       | 0-2   |  n/a    | Memory location id. See _Memory Location Id_ table.
105
 (src)       | 0-2   |  n/a    | Memory location id. See _Memory Location Id_ table.
91
 (addr)      | 0-255 |  n/a    | Offset from base address set by (src)
106
 (addr)      | 0-255 |  n/a    | Offset from base address set by (src)
92
 
107
 
93
 
108
 
109
+------------------------------------------------------------------------------------------
110
+
111
+Write Memory
112
+
94
 Function                 | Opcode | Arguments
113
 Function                 | Opcode | Arguments
95
 -------------------------|--------|---------------------------
114
 -------------------------|--------|---------------------------
96
 Write memory             |    5   |
115
 Write memory             |    5   |
97
 
116
 
98
 
117
 
118
+------------------------------------------------------------------------------------------
119
+
120
+Set Hold Delay
99
 
121
 
100
 Function                 | Opcode | Arguments
122
 Function                 | Opcode | Arguments
101
 -------------------------|--------|---------------------------
123
 -------------------------|--------|---------------------------
106
 The high and low byte values are calculated identically to the
128
 The high and low byte values are calculated identically to the
107
 attack pulse duration values.
129
 attack pulse duration values.
108
 
130
 
131
+------------------------------------------------------------------------------------------
132
+
133
+Set *flags* variable 
109
 
134
 
110
 Function                 | Opcode | Arguments
135
 Function                 | Opcode | Arguments
111
 -------------------------|--------|---------------------------
136
 -------------------------|--------|---------------------------
117
 
142
 
118
 _HOA_ : Set to apply the hold voltage at the beginning of the attack.
143
 _HOA_ : Set to apply the hold voltage at the beginning of the attack.
119
 
144
 
145
+------------------------------------------------------------------------------------------
146
+
147
+Register File Address
120
 
148
 
121
-Register file
122
 
149
 
123
 Address | Label           | Note
150
 Address | Label           | Note
124
 --------|-----------------|------------------------------------------------------------------------------------------------
151
 --------|-----------------|------------------------------------------------------------------------------------------------
144
 19      | Flags_Addr      | Binary variable field.
171
 19      | Flags_Addr      | Binary variable field.
145
 
172
 
146
 
173
 
174
+------------------------------------------------------------------------------------------
175
+
147
 Memory Location Id table.
176
 Memory Location Id table.
148
 
177
 
149
 Id | Memory         | Note
178
 Id | Memory         | Note

Завантаження…
Відмінити
Зберегти