Subversion Repositories svn.mios32

Rev

Rev 1736 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1736 tk 1
 
2
3
 
4
5
 
6
7
 
8
# see also http://www.ucapps.de/midibox_ng/mbng_led_digits_mtc.pdf
9
DOUT_MATRIX n=1   rows=8   sr_dout_r1=1  inverted_row=0  mirrored_row=0  sr_dout_sel1=2  inverted_sel=0
10
DOUT_MATRIX n=2   rows=8   sr_dout_r1=3  inverted_row=0  mirrored_row=0  sr_dout_sel1=4  inverted_sel=0
11
12
 
13
# if the segment connections are mirrored, set mirrored_row=1
14
15
 
16
 
17
# first matrix:  LED_MATRIX:1 ... LED_MATRIX:8
18
# second matrix: LED_MATRIX:17 .. LED_MATRIX:24
19
20
 
21
 
22
EVENT_LED_MATRIX id=17 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 64  syxdump_pos=10:0
23
EVENT_LED_MATRIX id=18 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 65  syxdump_pos=10:1
24
EVENT_LED_MATRIX id=1  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 66  syxdump_pos=10:2
25
EVENT_LED_MATRIX id=2  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 67  syxdump_pos=10:3
26
EVENT_LED_MATRIX id=3  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 68  syxdump_pos=10:4
27
EVENT_LED_MATRIX id=4  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 69  syxdump_pos=10:5
28
EVENT_LED_MATRIX id=5  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 70  syxdump_pos=10:6
29
EVENT_LED_MATRIX id=6  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 71  syxdump_pos=10:7
30
EVENT_LED_MATRIX id=7  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 72  syxdump_pos=10:8
31
EVENT_LED_MATRIX id=8  led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 73  syxdump_pos=10:9
32
33
 
34
EVENT_LED_MATRIX id=23 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 75  syxdump_pos=11:1
35
EVENT_LED_MATRIX id=24 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 74  syxdump_pos=11:0
36
37
 
38
 
39
40
 
41
#   0x10 : Logic Control
42
#   0x11 : Logic Control XT
43
#   0x14 : Mackie Control
44
#   0x15 : Mackie Control XT
45
SYSEX_VAR dev=0x10
46
47
 
48
# and notifies all events which select syxdump_pos=10:<pos-in-dump>
49
EVENT_RECEIVER id=10  type=SysEx  stream="0xf0 0x00 0x00 0x66 ^dev 0x10 ^dump"
50
51
 
52
# and notifies all events which select syxdump_pos=11:<pos-in-dump>
53
EVENT_RECEIVER id=11  type=SysEx  stream="0xf0 0x00 0x00 0x66 ^dev 0x11 ^dump"
54
55
 
56
 
57
 
58
 
59
# complete example can be found under cfg/templates/logictrl.ngc
60
# Receive Device Query -> send Host Connection Query
61
EVENT_RECEIVER id=  1  fwd_id=SENDER:1 \
62
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x00 0xf7"
63
EVENT_SENDER   id=  1 \
64
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x01 0x4d 0x42 0x4e 0x47 0x56 0x31 0x00 0x00 0x00 0x00 0xf7"
65
66
 
67
 
68
EVENT_RECEIVER id=  2  fwd_id=SENDER:2 \
69
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x02 0xf7"
70
EVENT_SENDER   id=  2 \
71
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x03 0x4d 0x42 0x4e 0x47 0x56 0x31 0xf7"
72
73
 
74
 
75
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
76
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x13 00 0xf7"
77
EVENT_SENDER   id=  3 \
78
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x14 0x56 0x31 0x2e 0x34 0x32 0xf7"
79
80
 
81
 
82
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
83
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1a 0xf7"
84
EVENT_SENDER   id=  3 \
85
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1b 0x42 0xf7"
86