Last change
on this file since 6d3de83 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
1.1 KB
|
Line | |
---|
1 | /*
|
---|
2 | =============================================================================
|
---|
3 | smdefs.h -- MIDAS Source / Multiplier definitions
|
---|
4 | Version 6 -- 1987-12-06 -- D.N. Lynx Crowe
|
---|
5 | =============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | struct sment {
|
---|
9 |
|
---|
10 | struct sment *nxt;
|
---|
11 | struct sment *prv;
|
---|
12 | unsigned vp;
|
---|
13 | unsigned sm;
|
---|
14 | };
|
---|
15 |
|
---|
16 | struct valent {
|
---|
17 |
|
---|
18 | struct sment *nxt;
|
---|
19 | struct sment *prv;
|
---|
20 | unsigned val;
|
---|
21 | };
|
---|
22 |
|
---|
23 | #define SM_NONE 0 /* No source - always 0 */
|
---|
24 | #define SM_RAND 1 /* Random source */
|
---|
25 | #define SM_CTL1 2 /* Control Voltage 1 / MIDI GPC 1 */
|
---|
26 |
|
---|
27 | #define SM_PTCH 5 /* Key Pitch (not updated in scan table) */
|
---|
28 | #define SM_KPRS 6 /* Key Pressure */
|
---|
29 | #define SM_KVEL 7 /* Key Velocity */
|
---|
30 | #define SM_PED1 8 /* Pedal 1 */
|
---|
31 |
|
---|
32 | #define SM_FREQ 10 /* Key frequency (not updated in scan table) */
|
---|
33 | #define SM_HTPW 11 /* Tablet X / MIDI Pitch Wheel */
|
---|
34 | #define SM_VTMW 12 /* Tablet Y / MIDI Mod Wheel */
|
---|
35 | #define SM_LPBR 13 /* LongPot / MIDI Breath Controller */
|
---|
36 |
|
---|
37 | /* Sources 3, 4, and 9 no longer exist */
|
---|
38 |
|
---|
39 | #define NSRCS 14 /* Highest source number + 1 */
|
---|
40 | #define NGPSRS (12 << 4) /* Number of group/source pairs */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.