Hello,
I want to control seq24 http://www.filter24.org/seq24/index.html
here is the documention part that explain how to proceed :
*** SNIP ****
* [midi-control]
For each sequence, we can set up midi events to turn a
sequence on, off, or toggle it. We see the following
lines in the [midi-control] section:
0 [0 0 0 0 0 0] [0 0 0 0 0 0] [0 0 0 0 0 0]
1 [0 0 0 0 0 0] [0 0 0 0 0 0] [0 0 0 0 0 0]
2 [0 0 0 0 0 0] [0 0 0 0 0 0] [0 0 0 0 0 0]
…
The first number is the sequence in the main window. Each set
of brackets corresponds to a midi filter. If the incoming midi
event matches the filter, it will either [toggle],[on],or[off]
the sequence respectivaly.
The layout of each filter inside the bracket is as follows:
[(on/off) (inverse) (midi status byte (channel ignored))
(data1) (data2 min) (data2 max)]
If the on/off is set to 1, it will match the incoming midi
to the pattern and perfrom the action (on/off/toggle)
if the data falls in the range specified. All values
are in decimal.
The last three is the range of data that will match.
The following is an example of responding to note on events,
note 0, with any velocity to turn the sequence on, and note
off events, note 0, and any velocity to turn the sequence off.
Toggle On Off
1 [0 0 0 0 0 0] [1 0 144 0 0 127] [1 0 128 0 0 127]
the inverse field will make the sequence perform the opposite
action (off for on, on for off) if the data falls outside the
specified range. This is cool because you can map several
sequences to a knob or fader.
The following example would map a row of sequences to one knob
sending out changes for Control Code 1:
Toggle On Off
0 [0 0 0 0 0 0] [1 1 176 1 0 15] [0 0 0 0 0 0]
1 [0 0 0 0 0 0] [1 1 176 1 16 31] [0 0 0 0 0 0]
2 [0 0 0 0 0 0] [1 1 176 1 32 47] [0 0 0 0 0 0]
3 [0 0 0 0 0 0] [1 1 176 1 48 63] [0 0 0 0 0 0]
4 [0 0 0 0 0 0] [1 1 176 1 64 79] [0 0 0 0 0 0]
5 [0 0 0 0 0 0] [1 1 176 1 80 95] [0 0 0 0 0 0]
6 [0 0 0 0 0 0] [1 1 176 1 96 111] [0 0 0 0 0 0]
7 [0 0 0 0 0 0] [1 1 176 1 112 127] [0 0 0 0 0 0]
*** SNIP ***
here is the message sending by my DIN buttons :
00000000017056 ms | [b0 3C 7F] Channel 1: CC LSB 28 (Undefined) value: 127
00000000017933 ms | [b0 3C 00] Channel 1: CC LSB 28 (Undefined) value: 0
00000000018601 ms | [b1 3C 7F] Channel 2: CC LSB 28 (Undefined) value: 127
00000000018893 ms | [b1 3C 00] Channel 2: CC LSB 28 (Undefined) value: 0
00000000019314 ms | [b2 3C 7F] Channel 3: CC LSB 28 (Undefined) value: 127
00000000019547 ms | [b2 3C 00] Channel 3: CC LSB 28 (Undefined) value: 0
00000000019935 ms | [b3 3C 7F] Channel 4: CC LSB 28 (Undefined) value: 127
00000000020158 ms | [b3 3C 00] Channel 4: CC LSB 28 (Undefined) value: 0
00000000020552 ms | [b4 3C 7F] Channel 5: CC LSB 28 (Undefined) value: 127
00000000020786 ms | [b4 3C 00] Channel 5: CC LSB 28 (Undefined) value: 0
00000000021396 ms | [b5 3C 7F] Channel 6: CC LSB 28 (Undefined) value: 127
00000000021635 ms | [b5 3C 00] Channel 6: CC LSB 28 (Undefined) value: 0
00000000022186 ms | [b6 3C 7F] Channel 7: CC LSB 28 (Undefined) value: 127
00000000022472 ms | [b6 3C 00] Channel 7: CC LSB 28 (Undefined) value: 0
00000000022838 ms | [b7 3C 7F] Channel 8: CC LSB 28 (Undefined) value: 127
00000000023079 ms | [b7 3C 00] Channel 8: CC LSB 28 (Undefined) value: 0
Here is what I have already try :
based on this chart : http://www.harmony-central.com/MIDI/Doc/table1.html
0 [1 0 176 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
1 [1 0 177 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
2 [1 0 178 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
3 [1 0 179 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
4 [1 0 180 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
5 [1 0 181 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
6 [1 0 182 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
7 [1 0 183 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]
in this case when I press each of my 8 buttons, only the first sequence is toggled
I miss something in my understanding to avhieve my goal.
any help please ?
Best.
Philippe