Hog1000 lighting console with M-pc Martin software - translate Note velocity to CC#

visualvoodoo

2016-10-02 01:16:20

Hi there,
I am trying to do the following.....
I am sending midi notes out of the Hog1000 lighting console to run the M-pc ( Martin lighting software )
I have made connection etc so that is all fine.

The issue I have and do not know how to do is as follows:

The Hog is separated into several sections... E.G the programmer, the playback wing and the menu panels.
The Hogs midi is set up the following way....

All buttons ( about 75 of them ) in the programmer section send all the same info other than velocity, so unless the velocity is readable all buttons act as the same, so when you create a midi trigger for say the record button the record function will trigger no matter what button in the programmer is pressed.
So my way around that is to send out of Bmt as a different note. So problem there is solved

My issue now is the hog also sends the faders all the same except for velocity. And this is where I need help.
I need an idea of how seperate all the faders like how I have done with the buttons.
I have tried but can't seem to work it out?

So I have put the fader into bomes eg B0 40 pp but they all read the same.
So how can I translate the faders to be recognised separately?

By the way I would appreciate real life example as I am kinda new to this translation thing....
So please try and keep it simple for an idiot such as myself!!!!
Thanks in advance

Sakis

2016-10-04 03:32:54

Try not to edit the post when someone else has already replied ! (I had to delete my original post)

Could you list the midi output when moving the first 3 faders?

florian

2016-10-04 10:13:08

Hi visualvoodoo,
yes, please check the Log Window with MIDI IN activated which messages are sent by the lighting console, and copy/paste the content of the Log Window here.

The general way to translate velocity to e.g. controller number is this:

Code: Select all

Translator: translate MIDI Note velocity to CC#
Incoming: MIDI Note Channel 1, Note 40, Any velocity, set pp to velocity
Outgoing: MIDI Control Change, Channel 1, CC# pp, value 1
I don't know which note the console sends, in the example above, I've arbitrarily assumed note 40.
Also, I don't know which MIDI messages are accepted by M-pc, so I've assumed control change messages. You should be able to modify that example above to send, e.g., a Note message to M-pc with note number set to the incoming velocity.

Thanks,
Florian

visualvoodoo

2016-10-04 22:23:04

Hi there guys,
thanks for your help.
Here are the messages being sent in the entirety for faders, i wont put all 16 up here of course, they seem to go up in incrmements anyway, so easy enough to work out.

THIS IS THE GRAND MASTER FADER
MIDI B0 40 3A
Control Change on Ch. 1 with CC#:64 ( 0x40) and value:58(0x3A)
Control Change on Ch. 1 with CC#:64 ( 0x40) set 'pp' to value
MIDI 90 0A 1F
Note On Ch. 1 with note:10(0x0A)and velocity:31(0x1F)
Note On Ch. 1 with note:10(0x0A)set 'pp' to velocity

THIS IS SUBMASTER FADER 1
MIDI B0 40 09
Control Change on Ch. 1 with CC#:64 ( 0x40) and value:2(0x02)
Control Change on Ch. 1 with CC#:64 ( 0x40) set 'pp' to value
MIDI 90 0A 01
Note On Ch. 1 with note:10(0x0A)and velocity:0(0x1F)
Note On Ch. 1 with note:10(0x0A)set 'pp' to velocity

THIS IS SUBMASTER FADER 2
MIDI B0 40 10
Control Change on Ch. 1 with CC#:64 ( 0x40) and value:16(0x09)
Control Change on Ch. 1 with CC#:64 ( 0x40) set 'pp' to value
MIDI 90 0A 01
Note On Ch. 1 with note:10(0x0A)and velocity:1(0x01)
Note On Ch. 1 with note:10(0x0A)set 'pp' to velocity

THIS IS SUBMASTER FADER 3
MIDI B0 40 31
Control Change on Ch. 1 with CC#:64 ( 0x40) and value:49(0x31)
Control Change on Ch. 1 with CC#:64 ( 0x40) set 'pp' to value
MIDI 90 0A 02
Note On Ch. 1 with note:10(0x0A)and velocity:2(0x01)
Note On Ch. 1 with note:10(0x0A)set 'pp' to velocity

Then there are 3 encoders, of course which are continuos, however I believe are the same as a fader basically, but here is the info on them as well...

THIS IS ENCODER 1
MIDI B0 41 01
Control Change on Ch. 1 with CC#:65 ( 0x41) and value:1(0x01)
Control Change on Ch. 1 with CC#:65 ( 0x41) set 'pp' to value
MIDI 90 0E 00
Note On Ch. 1 with note:14(0x0E)and velocity:0(0x00)
Note On Ch. 1 with note:14(0x0E)set 'pp' to velocity

THIS IS ENCODER 2
MIDI B0 41 01
Control Change on Ch. 1 with CC#:65 ( 0x41) and value:1(0x01)
Control Change on Ch. 1 with CC#:65 ( 0x41) set 'pp' to value
MIDI 90 0E 00
Note On Ch. 1 with note:14(0x0E)and velocity:1(0x01)
Note On Ch. 1 with note:14(0x0E)set 'pp' to velocity

So that gives you an idea of what is happening, and there is 16 subfaders plus the grand master and 3 encoders in total

Again i need real examples so I know where to put the info into Bomes etc as this is my first time using the software.

M-PC has a learn function where it has the ability to learn both a fader and buttons and then you assign those functions in the software, so Bomes is merely the translator.
I have already translated most of the buttons to send as seperate notes instead of velocity but obviously i cannot do that with faders.
Thanks again in advance

visualvoodoo

2016-10-10 04:42:29

Hi there just wondering if anyone has had the chance to look into this and see if there is a solution.
I still cannot seem to get it to work.

Sakis

2016-10-10 19:42:32

I assume incoming midi channel is always 1
I assume midi CC start from CC 64 and hog transmits until max CC 79 (else don't create the patch)
I assume that you posted wrong the encoders ,since encoder1 and encoder2 have the same midi info.
I assume that mpc software recognizes all midi channels

* incoming CC to outgoing midi channel
* incoming CC value to outgoing CC
* incoming note velocity to outgoing CC value

incoming midi CC channel 1 :
176 ga gb (swallow) (eg Grand Master was: hex B0 40 3A or dec 176, 64, 58 )
outgoing none

I used global variable ga and gb to use in the next translator (in eg Grand Master was ga=64 and gb=58 )

incoming Note on channel 1 :
144 ss tt (swallow) (eg Grand Master was: hex 90 0A 1F or dec 144, 10 , 31 )
outgoing oo pp qq
rules :
oo= 112 + ga ( 112 + 64 = 176 )
pp = gb ( == 58 )
qq = tt ( == 31 )

So the outgoing will send
176 58 31 (eg. Grand Master will be translated to channel 1 CC#58 with 31 value)

I admit it was the dirtiest/lazy translate I've ever thought!

florian

2016-10-10 22:35:54

Hi visualvoodoo,
have you been able to get this to work?
Just a note: the log you've posted are from the MIDI Capture window. As Sakis pointed out, too, there are a few inconsistencies. Easier is the Log Window (open it from the VIEW menu). The encoders typically send incremental data, so please post the messages that are sent for left and for right turns.
Thanks,
Florian

visualvoodoo

2016-10-17 02:48:23

Hi there guys, here is the data from the event window. sorry for the delay, been a way on tour.

This is the grand master fader from 0 percent to 100 percent

1: MIDI IN [USB MIDI Interface]: B0 40 09
2: IN 2.0 MIDI B0 40 09, pp=0x09
3: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 09
4: OUT 2.0 MIDI B0 40 09
5: MIDI IN [USB MIDI Interface]: 90 0A 1F
6: MIDI IN [USB MIDI Interface]: B0 40 21
7: IN 2.0 MIDI B0 40 21, pp=0x21
8: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 21
9: OUT 2.0 MIDI B0 40 21
10: MIDI IN [USB MIDI Interface]: 90 0A 1F
11: MIDI IN [USB MIDI Interface]: B0 40 40
12: IN 2.0 MIDI B0 40 40, pp=0x40
13: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 40
14: OUT 2.0 MIDI B0 40 40
15: MIDI IN [USB MIDI Interface]: 90 0A 1F
16: MIDI IN [USB MIDI Interface]: B0 40 60
17: IN 2.0 MIDI B0 40 60, pp=0x60
18: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 60
19: OUT 2.0 MIDI B0 40 60
20: MIDI IN [USB MIDI Interface]: 90 0A 1F
21: MIDI IN [USB MIDI Interface]: B0 40 7F
22: IN 2.0 MIDI B0 40 7F, pp=0x7F
23: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 7F
24: OUT 2.0 MIDI B0 40 7F
25: MIDI IN [USB MIDI Interface]: 90 0A 1F

Now fader 1 from 0 percent to 100 percent

1: MIDI IN [USB MIDI Interface]: B0 40 10
2: IN 2.0 MIDI B0 40 10, pp=0x10
3: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 10
4: OUT 2.0 MIDI B0 40 10
5: MIDI IN [USB MIDI Interface]: 90 4F 3F
6: IN 3.0 MIDI 90 4F 3F, pp=0x3F
7: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B4 3F 01
8: OUT 3.0 Control Change on ch. 5 with CC#:pp=63 and value:1 (0x01)
9: IN 3.1 MIDI 90 4F 3F
10: MIDI IN [USB MIDI Interface]: B0 40 3A
11: IN 2.0 MIDI B0 40 3A, pp=0x3A
12: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 3A
13: OUT 2.0 MIDI B0 40 3A
14: MIDI IN [USB MIDI Interface]: 90 4F 3F
15: IN 3.0 MIDI 90 4F 3F, pp=0x3F
16: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B4 3F 01
17: OUT 3.0 Control Change on ch. 5 with CC#:pp=63 and value:1 (0x01)
18: IN 3.1 MIDI 90 4F 3F
19: MIDI IN [USB MIDI Interface]: B0 40 6B
20: IN 2.0 MIDI B0 40 6B, pp=0x6B
21: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 6B
22: OUT 2.0 MIDI B0 40 6B
23: MIDI IN [USB MIDI Interface]: 90 4F 3F
24: IN 3.0 MIDI 90 4F 3F, pp=0x3F
25: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B4 3F 01
26: OUT 3.0 Control Change on ch. 5 with CC#:pp=63 and value:1 (0x01)
27: IN 3.1 MIDI 90 4F 3F
28: MIDI IN [USB MIDI Interface]: B0 40 7F
29: IN 2.0 MIDI B0 40 7F, pp=0x7F
30: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 7F
31: OUT 2.0 MIDI B0 40 7F
32: MIDI IN [USB MIDI Interface]: 90 4F 3F
33: IN 3.0 MIDI 90 4F 3F, pp=0x3F
34: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B4 3F 01
35: OUT 3.0 Control Change on ch. 5 with CC#:pp=63 and value:1 (0x01)
36: IN 3.1 MIDI 90 4F 3F

And now fader 2

1: MIDI IN [USB MIDI Interface]: B0 40 12
2: IN 2.0 MIDI B0 40 12, pp=0x12
3: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 12
4: OUT 2.0 MIDI B0 40 12
5: MIDI IN [USB MIDI Interface]: 90 50 3F
6: MIDI IN [USB MIDI Interface]: B0 40 2E
7: IN 2.0 MIDI B0 40 2E, pp=0x2E
8: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 2E
9: OUT 2.0 MIDI B0 40 2E
10: MIDI IN [USB MIDI Interface]: 90 50 3F
11: MIDI IN [USB MIDI Interface]: B0 40 50
12: IN 2.0 MIDI B0 40 50, pp=0x50
13: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 50
14: OUT 2.0 MIDI B0 40 50
15: MIDI IN [USB MIDI Interface]: 90 50 3F
16: MIDI IN [USB MIDI Interface]: B0 40 78
17: IN 2.0 MIDI B0 40 78, pp=0x78
18: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 78
19: OUT 2.0 MIDI B0 40 78
20: MIDI IN [USB MIDI Interface]: 90 50 3F
21: MIDI IN [USB MIDI Interface]: B0 40 7F
22: IN 2.0 MIDI B0 40 7F, pp=0x7F
23: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 7F
24: OUT 2.0 MIDI B0 40 7F
25: MIDI IN [USB MIDI Interface]: 90 50 3F
26: MIDI IN [USB MIDI Interface]: B0 40 02
27: IN 2.0 MIDI B0 40 02, pp=0x02
28: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 02
29: OUT 2.0 MIDI B0 40 02
30: MIDI IN [USB MIDI Interface]: 90 51 3F

Now Encoder 1 turn anti clockwise

1: MIDI IN [USB MIDI Interface]: B0 41 01
2: IN 5.0 MIDI B0 41 01, pp=0x01
3: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 01
4: OUT 5.0 MIDI B0 41 01
5: MIDI IN [USB MIDI Interface]: 90 0E 00
6: MIDI IN [USB MIDI Interface]: B0 41 7F
7: IN 5.0 MIDI B0 41 7F, pp=0x7F
8: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7F
9: OUT 5.0 MIDI B0 41 7F
10: MIDI IN [USB MIDI Interface]: 90 0E 00
11: MIDI IN [USB MIDI Interface]: B0 41 7D
12: IN 5.0 MIDI B0 41 7D, pp=0x7D
13: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7D
14: OUT 5.0 MIDI B0 41 7D
15: MIDI IN [USB MIDI Interface]: 90 0E 00
16: MIDI IN [USB MIDI Interface]: B0 41 7A
17: IN 5.0 MIDI B0 41 7A, pp=0x7A
18: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7A
19: OUT 5.0 MIDI B0 41 7A
20: MIDI IN [USB MIDI Interface]: 90 0E 00
21: MIDI IN [USB MIDI Interface]: B0 41 79
22: IN 5.0 MIDI B0 41 79, pp=0x79
23: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 79
24: OUT 5.0 MIDI B0 41 79
25: MIDI IN [USB MIDI Interface]: 90 0E 00
26: MIDI IN [USB MIDI Interface]: B0 41 7A
27: IN 5.0 MIDI B0 41 7A, pp=0x7A
28: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7A
29: OUT 5.0 MIDI B0 41 7A
30: MIDI IN [USB MIDI Interface]: 90 0E 00
31: MIDI IN [USB MIDI Interface]: B0 41 77
32: IN 5.0 MIDI B0 41 77, pp=0x77
33: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 77
34: OUT 5.0 MIDI B0 41 77
35: MIDI IN [USB MIDI Interface]: 90 0E 00
36: MIDI IN [USB MIDI Interface]: B0 41 7A
37: IN 5.0 MIDI B0 41 7A, pp=0x7A
38: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7A
39: OUT 5.0 MIDI B0 41 7A
40: MIDI IN [USB MIDI Interface]: 90 0E 00
41: MIDI IN [USB MIDI Interface]: B0 41 7A
42: IN 5.0 MIDI B0 41 7A, pp=0x7A
43: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7A
44: OUT 5.0 MIDI B0 41 7A
45: MIDI IN [USB MIDI Interface]: 90 0E 00
46: MIDI IN [USB MIDI Interface]: B0 41 79
47: IN 5.0 MIDI B0 41 79, pp=0x79
48: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 79
49: OUT 5.0 MIDI B0 41 79
50: MIDI IN [USB MIDI Interface]: 90 0E 00
51: MIDI IN [USB MIDI Interface]: B0 41 75
52: IN 5.0 MIDI B0 41 75, pp=0x75
53: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 75
54: OUT 5.0 MIDI B0 41 75
55: MIDI IN [USB MIDI Interface]: 90 0E 00
56: MIDI IN [USB MIDI Interface]: B0 41 75
57: IN 5.0 MIDI B0 41 75, pp=0x75
58: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 75
59: OUT 5.0 MIDI B0 41 75
60: MIDI IN [USB MIDI Interface]: 90 0E 00
61: MIDI IN [USB MIDI Interface]: B0 41 7A
62: IN 5.0 MIDI B0 41 7A, pp=0x7A
63: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7A
64: OUT 5.0 MIDI B0 41 7A
65: MIDI IN [USB MIDI Interface]: 90 0E 00
66: MIDI IN [USB MIDI Interface]: B0 41 7E
67: IN 5.0 MIDI B0 41 7E, pp=0x7E
68: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7E
69: OUT 5.0 MIDI B0 41 7E
70: MIDI IN [USB MIDI Interface]: 90 0E 00
71: MIDI IN [USB MIDI Interface]: B0 41 7F
72: IN 5.0 MIDI B0 41 7F, pp=0x7F
73: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7F
74: OUT 5.0 MIDI B0 41 7F
75: MIDI IN [USB MIDI Interface]: 90 0E 00
76: MIDI IN [USB MIDI Interface]: B0 40 13
77: IN 2.0 MIDI B0 40 13, pp=0x13
78: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 13
79: OUT 2.0 MIDI B0 40 13
80: MIDI IN [USB MIDI Interface]: 90 51 3F

Encoder 1 turning clockwise

1: MIDI IN [USB MIDI Interface]: B0 41 01
2: IN 5.0 MIDI B0 41 01, pp=0x01
3: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 01
4: OUT 5.0 MIDI B0 41 01
5: MIDI IN [USB MIDI Interface]: 90 0E 00
6: MIDI IN [USB MIDI Interface]: B0 40 19
7: IN 2.0 MIDI B0 40 19, pp=0x19
8: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 19
9: OUT 2.0 MIDI B0 40 19
10: MIDI IN [USB MIDI Interface]: 90 51 3F
11: MIDI IN [USB MIDI Interface]: B0 41 02
12: IN 5.0 MIDI B0 41 02, pp=0x02
13: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 02
14: OUT 5.0 MIDI B0 41 02
15: MIDI IN [USB MIDI Interface]: 90 0E 00
16: MIDI IN [USB MIDI Interface]: B0 41 06
17: IN 5.0 MIDI B0 41 06, pp=0x06
18: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 06
19: OUT 5.0 MIDI B0 41 06
20: MIDI IN [USB MIDI Interface]: 90 0E 00
21: MIDI IN [USB MIDI Interface]: B0 41 09
22: IN 5.0 MIDI B0 41 09, pp=0x09
23: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 09
24: OUT 5.0 MIDI B0 41 09
25: MIDI IN [USB MIDI Interface]: 90 0E 00
26: MIDI IN [USB MIDI Interface]: B0 41 0F
27: IN 5.0 MIDI B0 41 0F, pp=0x0F
28: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 0F
29: OUT 5.0 MIDI B0 41 0F
30: MIDI IN [USB MIDI Interface]: 90 0E 00
31: MIDI IN [USB MIDI Interface]: B0 40 19
32: IN 2.0 MIDI B0 40 19, pp=0x19
33: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 19
34: OUT 2.0 MIDI B0 40 19
35: MIDI IN [USB MIDI Interface]: 90 51 3F
36: MIDI IN [USB MIDI Interface]: B0 41 0A
37: IN 5.0 MIDI B0 41 0A, pp=0x0A
38: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 0A
39: OUT 5.0 MIDI B0 41 0A
40: MIDI IN [USB MIDI Interface]: 90 0E 00
41: MIDI IN [USB MIDI Interface]: B0 41 05
42: IN 5.0 MIDI B0 41 05, pp=0x05
43: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 05
44: OUT 5.0 MIDI B0 41 05
45: MIDI IN [USB MIDI Interface]: 90 0E 00
46: MIDI IN [USB MIDI Interface]: B0 41 03
47: IN 5.0 MIDI B0 41 03, pp=0x03
48: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 03
49: OUT 5.0 MIDI B0 41 03
50: MIDI IN [USB MIDI Interface]: 90 0E 00

Encoder 2 anticlockwise

1: MIDI IN [USB MIDI Interface]: B0 41 01
2: IN 5.0 MIDI B0 41 01, pp=0x01
3: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 01
4: OUT 5.0 MIDI B0 41 01
5: MIDI IN [USB MIDI Interface]: 90 0E 01
6: MIDI IN [USB MIDI Interface]: B0 41 7F
7: IN 5.0 MIDI B0 41 7F, pp=0x7F
8: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7F
9: OUT 5.0 MIDI B0 41 7F
10: MIDI IN [USB MIDI Interface]: 90 0E 01
11: MIDI IN [USB MIDI Interface]: B0 41 71
12: IN 5.0 MIDI B0 41 71, pp=0x71
13: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 71
14: OUT 5.0 MIDI B0 41 71
15: MIDI IN [USB MIDI Interface]: 90 0E 01
16: MIDI IN [USB MIDI Interface]: B0 41 6D
17: IN 5.0 MIDI B0 41 6D, pp=0x6D
18: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 6D
19: OUT 5.0 MIDI B0 41 6D
20: MIDI IN [USB MIDI Interface]: 90 0E 01
21: MIDI IN [USB MIDI Interface]: B0 41 75
22: IN 5.0 MIDI B0 41 75, pp=0x75
23: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 75
24: OUT 5.0 MIDI B0 41 75
25: MIDI IN [USB MIDI Interface]: 90 0E 01
26: MIDI IN [USB MIDI Interface]: B0 41 79
27: IN 5.0 MIDI B0 41 79, pp=0x79
28: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 79
29: OUT 5.0 MIDI B0 41 79
30: MIDI IN [USB MIDI Interface]: 90 0E 01
31: MIDI IN [USB MIDI Interface]: B0 41 7D
32: IN 5.0 MIDI B0 41 7D, pp=0x7D
33: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7D
34: OUT 5.0 MIDI B0 41 7D
35: MIDI IN [USB MIDI Interface]: 90 0E 01
36: MIDI IN [USB MIDI Interface]: B0 41 7F
37: IN 5.0 MIDI B0 41 7F, pp=0x7F
38: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7F
39: OUT 5.0 MIDI B0 41 7F
40: MIDI IN [USB MIDI Interface]: 90 0E 01
41: MIDI IN [USB MIDI Interface]: B0 41 7F
42: IN 5.0 MIDI B0 41 7F, pp=0x7F
43: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 7F
44: OUT 5.0 MIDI B0 41 7F
45: MIDI IN [USB MIDI Interface]: 90 0E 01
46: MIDI IN [USB MIDI Interface]: B0 40 1E
47: IN 2.0 MIDI B0 40 1E, pp=0x1E
48: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 1E
49: OUT 2.0 MIDI B0 40 1E
50: MIDI IN [USB MIDI Interface]: 90 51 3F
51: MIDI IN [USB MIDI Interface]: B0 40 1E
52: IN 2.0 MIDI B0 40 1E, pp=0x1E
53: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 40 1E
54: OUT 2.0 MIDI B0 40 1E
55: MIDI IN [USB MIDI Interface]: 90 51 3F

Encoder 2 Clockwise

1: MIDI IN [USB MIDI Interface]: B0 41 06
2: IN 5.0 MIDI B0 41 06, pp=0x06
3: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 06
4: OUT 5.0 MIDI B0 41 06
5: MIDI IN [USB MIDI Interface]: 90 0E 01
6: MIDI IN [USB MIDI Interface]: B0 41 0C
7: IN 5.0 MIDI B0 41 0C, pp=0x0C
8: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 0C
9: OUT 5.0 MIDI B0 41 0C
10: MIDI IN [USB MIDI Interface]: 90 0E 01
11: MIDI IN [USB MIDI Interface]: B0 41 1B
12: IN 5.0 MIDI B0 41 1B, pp=0x1B
13: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 1B
14: OUT 5.0 MIDI B0 41 1B
15: MIDI IN [USB MIDI Interface]: 90 0E 01
16: MIDI IN [USB MIDI Interface]: B0 41 11
17: IN 5.0 MIDI B0 41 11, pp=0x11
18: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 11
19: OUT 5.0 MIDI B0 41 11
20: MIDI IN [USB MIDI Interface]: 90 0E 01
21: MIDI IN [USB MIDI Interface]: B0 41 09
22: IN 5.0 MIDI B0 41 09, pp=0x09
23: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 09
24: OUT 5.0 MIDI B0 41 09
25: MIDI IN [USB MIDI Interface]: 90 0E 01
26: MIDI IN [USB MIDI Interface]: B0 41 05
27: IN 5.0 MIDI B0 41 05, pp=0x05
28: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 05
29: OUT 5.0 MIDI B0 41 05
30: MIDI IN [USB MIDI Interface]: 90 0E 01
31: MIDI IN [USB MIDI Interface]: B0 41 02
32: IN 5.0 MIDI B0 41 02, pp=0x02
33: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 41 02
34: OUT 5.0 MIDI B0 41 02
35: MIDI IN [USB MIDI Interface]: 90 0E 01

Thats the info straight of the log window...

once again all faders are read into mpc as 1 fader as they are only different with the velocity send...
There are 16 faders in total

The encoders are the same, all 3 read as the one encoder, again only seperated by the velocity.

Thanks for your help in advance
This is the only part left to get working.....
Happy to share file once completed if anyone wants or needs it....

Cheers
Jeff

Sakis

2016-10-17 14:00:36

Can't understand what's happening. Maybe someone else will.
If you want me to help ,download MidiOX and post 2 screenshots :

On first move fader from 0 to full
On second move the encoder 0 to full.

Edit:
At least on the fader and encoder there are separate midi cc
Fader: B0 40 pp
Encoder : B0 41 pp

Note is the same.

Try making 2 simple translators for the 2 midi CC and post the results :)

visualvoodoo

2016-10-22 01:33:57

Here is the Grand Master Fader from 0 to 100%

000625DA 1 -- B0 40 06 1 --- CC: Pedal (Sustain)
000625DB 1 -- 90 0A 1F 1 Bb-1 Note On
00062615 1 -- B0 40 0C 1 --- CC: Pedal (Sustain)
00062616 1 -- 90 0A 1F 1 Bb-1 Note On
00062653 1 -- B0 40 11 1 --- CC: Pedal (Sustain)
00062655 1 -- 90 0A 1F 1 Bb-1 Note On
00062692 1 -- B0 40 14 1 --- CC: Pedal (Sustain)
00062693 1 -- 90 0A 1F 1 Bb-1 Note On
000626D0 1 -- B0 40 1B 1 --- CC: Pedal (Sustain)
000626D1 1 -- 90 0A 1F 1 Bb-1 Note On
0006270E 1 -- B0 40 20 1 --- CC: Pedal (Sustain)
0006270F 1 -- 90 0A 1F 1 Bb-1 Note On
0006274D 1 -- B0 40 27 1 --- CC: Pedal (Sustain)
0006274E 1 -- 90 0A 1F 1 Bb-1 Note On
0006278C 1 -- B0 40 2D 1 --- CC: Pedal (Sustain)
0006278D 1 -- 90 0A 1F 1 Bb-1 Note On
000627CB 1 -- B0 40 35 1 --- CC: Pedal (Sustain)
000627CC 1 -- 90 0A 1F 1 Bb-1 Note On
00062809 1 -- B0 40 3D 1 --- CC: Pedal (Sustain)
0006280A 1 -- 90 0A 1F 1 Bb-1 Note On
00062847 1 -- B0 40 44 1 --- CC: Pedal (Sustain)
00062849 1 -- 90 0A 1F 1 Bb-1 Note On
0006288A 1 -- B0 40 4A 1 --- CC: Pedal (Sustain)
0006288B 1 -- 90 0A 1F 1 Bb-1 Note On
000628C4 1 -- B0 40 54 1 --- CC: Pedal (Sustain)
00062903 1 -- B0 40 5E 1 --- CC: Pedal (Sustain)
00062904 1 -- 90 0A 1F 1 Bb-1 Note On
00062941 1 -- B0 40 66 1 --- CC: Pedal (Sustain)
00062942 1 -- 90 0A 1F 1 Bb-1 Note On
00062980 1 -- B0 40 6B 1 --- CC: Pedal (Sustain)
00062981 1 -- 90 0A 1F 1 Bb-1 Note On
000629BE 1 -- B0 40 6F 1 --- CC: Pedal (Sustain)
000629BF 1 -- 90 0A 1F 1 Bb-1 Note On
000629FD 1 -- B0 40 75 1 --- CC: Pedal (Sustain)
000629FE 1 -- 90 0A 1F 1 Bb-1 Note On
00062A3B 1 -- B0 40 7F 1 --- CC: Pedal (Sustain)
00062A3C 1 -- 90 0A 1F 1 Bb-1 Note On
00069335 1 -- 80 09 00 1 A -1 Note Off

Here is fader 1 from 0 to 100%

000791D3 1 -- B0 40 02 1 --- CC: Pedal (Sustain)
000791D6 1 -- 90 4F 3F 1 G 5 Note On
000793C7 1 -- B0 40 05 1 --- CC: Pedal (Sustain)
000793C8 1 -- 90 4F 3F 1 G 5 Note On
00079405 1 -- B0 40 09 1 --- CC: Pedal (Sustain)
00079406 1 -- 90 4F 3F 1 G 5 Note On
00079444 1 -- B0 40 0D 1 --- CC: Pedal (Sustain)
00079445 1 -- 90 4F 3F 1 G 5 Note On
00079483 1 -- B0 40 11 1 --- CC: Pedal (Sustain)
00079484 1 -- 90 4F 3F 1 G 5 Note On
000794C2 1 -- B0 40 15 1 --- CC: Pedal (Sustain)
000794C3 1 -- 90 4F 3F 1 G 5 Note On
000794FF 1 -- B0 40 19 1 --- CC: Pedal (Sustain)
00079501 1 -- 90 4F 3F 1 G 5 Note On
0007953F 1 -- B0 40 1E 1 --- CC: Pedal (Sustain)
00079540 1 -- 90 4F 3F 1 G 5 Note On
0007957D 1 -- B0 40 25 1 --- CC: Pedal (Sustain)
0007957E 1 -- 90 4F 3F 1 G 5 Note On
000795BF 1 -- B0 40 2E 1 --- CC: Pedal (Sustain)
000795C0 1 -- 90 4F 3F 1 G 5 Note On
000795F9 1 -- B0 40 3A 1 --- CC: Pedal (Sustain)
000795FA 1 -- 90 4F 3F 1 G 5 Note On
00079638 1 -- B0 40 49 1 --- CC: Pedal (Sustain)
00079639 1 -- 90 4F 3F 1 G 5 Note On
00079676 1 -- B0 40 5B 1 --- CC: Pedal (Sustain)
00079677 1 -- 90 4F 3F 1 G 5 Note On
000796B5 1 -- B0 40 6B 1 --- CC: Pedal (Sustain)
000796B6 1 -- 90 4F 3F 1 G 5 Note On
000796F3 1 -- B0 40 7A 1 --- CC: Pedal (Sustain)
000796F4 1 -- 90 4F 3F 1 G 5 Note On
00079732 1 -- B0 40 7F 1 --- CC: Pedal (Sustain)
00079733 1 -- 90 4F 3F 1 G 5 Note On

Here is encoder 1 turning clockwise

00083CB6 1 -- B0 41 01 1 --- CC: Portamento
00083CB7 1 -- 90 0E 00 1 D 0 Note Off
00083CF5 1 -- B0 41 02 1 --- CC: Portamento
00083CF6 1 -- 90 0E 00 1 D 0 Note Off
00083D33 1 -- B0 41 03 1 --- CC: Portamento
00083D34 1 -- 90 0E 00 1 D 0 Note Off
00083D72 1 -- B0 41 02 1 --- CC: Portamento
00083D73 1 -- 90 0E 00 1 D 0 Note Off
00083DB0 1 -- B0 41 03 1 --- CC: Portamento
00083DB2 1 -- 90 0E 00 1 D 0 Note Off
00083DEF 1 -- B0 41 04 1 --- CC: Portamento
00083DF0 1 -- 90 0E 00 1 D 0 Note Off
00083E2D 1 -- B0 41 04 1 --- CC: Portamento
00083E2E 1 -- 90 0E 00 1 D 0 Note Off
00083E6B 1 -- B0 41 05 1 --- CC: Portamento
00083E6C 1 -- 90 0E 00 1 D 0 Note Off
00083EAB 1 -- B0 41 05 1 --- CC: Portamento
00083EAC 1 -- 90 0E 00 1 D 0 Note Off
00083EED 1 -- B0 41 05 1 --- CC: Portamento
00083EEE 1 -- 90 0E 00 1 D 0 Note Off
00083F27 1 -- B0 41 06 1 --- CC: Portamento
00083F29 1 -- 90 0E 00 1 D 0 Note Off
00083F66 1 -- B0 41 06 1 --- CC: Portamento
00083F67 1 -- 90 0E 00 1 D 0 Note Off
00083FA4 1 -- B0 41 06 1 --- CC: Portamento
00083FA5 1 -- 90 0E 00 1 D 0 Note Off
00083FE3 1 -- B0 41 06 1 --- CC: Portamento
00083FE4 1 -- 90 0E 00 1 D 0 Note Off
00084021 1 -- B0 41 07 1 --- CC: Portamento
00084022 1 -- 90 0E 00 1 D 0 Note Off
00084060 1 -- B0 41 04 1 --- CC: Portamento
00084061 1 -- 90 0E 00 1 D 0 Note Off
0008409E 1 -- B0 41 03 1 --- CC: Portamento
0008409F 1 -- 90 0E 00 1 D 0 Note Off
000840DC 1 -- B0 41 03 1 --- CC: Portamento
000840DE 1 -- 90 0E 00 1 D 0 Note Off

Here is encoder 2 turning clockwise


0008F257 1 -- B0 41 01 1 --- CC: Portamento
0008F258 1 -- 90 0E 01 1 D 0 Note On
0008F296 1 -- B0 41 01 1 --- CC: Portamento
0008F297 1 -- 90 0E 01 1 D 0 Note On
0008F2D8 1 -- B0 41 02 1 --- CC: Portamento
0008F2D9 1 -- 90 0E 01 1 D 0 Note On
0008F312 1 -- B0 41 03 1 --- CC: Portamento
0008F313 1 -- 90 0E 01 1 D 0 Note On
0008F351 1 -- B0 41 02 1 --- CC: Portamento
0008F352 1 -- 90 0E 01 1 D 0 Note On
0008F390 1 -- B0 41 03 1 --- CC: Portamento
0008F391 1 -- 90 0E 01 1 D 0 Note On
0008F3CE 1 -- B0 41 03 1 --- CC: Portamento
0008F3CF 1 -- 90 0E 01 1 D 0 Note On
0008F40C 1 -- B0 41 03 1 --- CC: Portamento
0008F40D 1 -- 90 0E 01 1 D 0 Note On
0008F44B 1 -- B0 41 02 1 --- CC: Portamento
0008F44D 1 -- 90 0E 01 1 D 0 Note On
0008F48B 1 -- B0 41 02 1 --- CC: Portamento
0008F48B 1 -- 90 0E 01 1 D 0 Note On
0008F4C8 1 -- B0 41 01 1 --- CC: Portamento
0008F4C9 1 -- 90 0E 01 1 D 0 Note On
0008F506 1 -- B0 41 02 1 --- CC: Portamento
0008F507 1 -- 90 0E 01 1 D 0 Note On
0008F545 1 -- B0 41 03 1 --- CC: Portamento
0008F546 1 -- 90 0E 01 1 D 0 Note On
0008F588 1 -- B0 41 03 1 --- CC: Portamento
0008F589 1 -- 90 0E 01 1 D 0 Note On
0008F5C2 1 -- B0 41 01 1 --- CC: Portamento
0008F5C3 1 -- 90 0E 01 1 D 0 Note On
0008F600 1 -- B0 41 01 1 --- CC: Portamento
0008F601 1 -- 90 0E 01 1 D 0 Note On
0008F63F 1 -- B0 41 02 1 --- CC: Portamento
0008F640 1 -- 90 0E 01 1 D 0 Note On
0008F67D 1 -- B0 41 01 1 --- CC: Portamento
0008F67E 1 -- 90 0E 01 1 D 0 Note On
0008F6BC 1 -- B0 41 01 1 --- CC: Portamento
0008F6BD 1 -- 90 0E 01 1 D 0 Note On

I am needing to have this running by this weekend if thats possible so any help on this with a solution would be amazing...
Cheers
Jeff

Sakis

2016-10-23 14:55:49

Hi,
It seems Hog transmits a specific note value and velocity to define the active controller.
The correct way is to make a separate translator for every encoder but we will try some "hack" since you don't need to translate every encoder to specific midi CC
My "logic" in this project was mapping the sum of incoming note value and velocity ,to #CC .
Hopefully the summing would be different for every event ,but you must check this.
Since I don't know the midi implementation of the Hog ,there is a chance that the sum may be bigger than 127 , so I made two rules to cover it.
If its 130 then the #CC will be 130-127=3 and the midi channel will change from 1 to 2.
The value of the #CC will be the same value Hog transmits.
Hope it helps
Attachments
hog.bmtp
(825 Bytes) Downloaded 125 times

visualvoodoo

2016-10-24 00:13:56

Hi there,
In fact I do need to translate the encoders and the faders seperately????
I have 3 encoders I need as seperate Identities, and I have 17 Faders I need as seperate identities......
I could Not get this to work????

I think i might need a little more explanation?
Regards
Jeff

Sakis

2016-10-24 00:58:08

There wasn't any midi out from the translator?
The translator simply gets the note on event and is mapping it to a different #CC based on the value of the note and the velocity.

visualvoodoo

2016-10-24 02:45:34

So do i use the same for all faders and encoders?
Or do i need to change for each one?

visualvoodoo

2016-10-24 08:14:05

OK, yep I worked it out, thankyou so much, it pretty much works....
However... the following applies and I hope it can be sorted easy enough....

Grand master - works

Faders 1 thru 5 work...
Faders 6 thru 10 send the same as faders 1 thru 5?

Faders 11 through 16 work

Encoder 1 seems fine...

Encoder 2 and three send the same info as faders 2 and 3....

Is there more rules that can solve this issue?

Also the encoders actually work in reverse....
EG.... You turn the encoder for intensity to the right and it goes to zero, you turn it to the left and it goes to 100%

Hoping this is an easy fix..... I am wrapped we are getting somewhere, thankyou very much
Cheers
Jeff

Sakis

2016-10-24 14:07:19

Unfortunately ,encoders or faders that output the same midi #CC ,may have the same sum of the note on + velocity identifiers .

BUT
According to previous posts :
fader 1 90 4F 3F (144 79 63 in dec)
fader 2 90 50 3F (144 80 63 in dec)
encoder 1 90 0E 00 (144 14 00 in dec)
encoder 2 90 0E 01 (144 14 01 in dec)

The encoder 2 should be translated to 14+1=15 #CC so
176 15 pp (midi channel 1 #CC 15)

The fader2 to 80 + 63 = 143 (>127 => 143-127=16 and midi channel 2 )
177 16 pp

So encoder 2 and fader 2 are translated to different CC and should not have the same info.
Before trying something else could you re-check it?

visualvoodoo

2016-10-24 23:06:38

Hi there mate,
here are the notes that each fader is sending once translated...

Grand Master
Bo 29 7F

Fader 1
Bo 0F 7F

Fader 2
B0 10 02

Fader 3
B0 11 7F

Fader 4
B0 12 1A

Fader 5
B0 13 1E

Fader 6
B0 0F11

Fader 7
B0 10 09

Fader 8
B0 11 11

Fader 9
B0 12 09

Fader 10
B0 13 1A

Fader 11
B0 14 06

Fader 12
B0 15 17

Fader 13
B0 16 1A

Fader 14
B0 17 01

Fader 15
B0 18 01

Fader 16
B0 19 17

Encoder 1
B0 0E 03

Encoder 2
B0 0F 04

Encoder 3
B0 10 02

So as you can see fader 1 thru 5 are fine
Fader 6 thru 10 repeat and 11 through 16 are fine

Encoder 1 is fine
Encoder 2 and three repeat fader values....

Cheers
Jeff

Sakis

2016-10-24 23:49:59

You are right, I made a mistake on the rules :mrgreen:
I had

Code: Select all

if pp>127 then pp=pp-127
if pp>127 then oo=177
but if the pp (sum) was eg. 150 then it would change to pp=150-127=>pp=23
and the second if statement (pp>127) would never be true so it didn't change the midi channel ( oo=177 ) :oops:

So I reversed them to the right order

Code: Select all

if pp>127 then oo=177
if pp>127 then pp=pp-127
Give it one shot again!
Attachments
hog2.bmtp
(840 Bytes) Downloaded 135 times

visualvoodoo

2016-10-25 09:56:10

Hey there, Ok so the only thing left that doesnt work correctly is that the encoders 2 and three send the same note as fader 6 and 7, but now all faders work as they should from 1 to 16 and grand master...

Is there another rule or something that will fix this issue?
Or perhaps another seperate rule for the encoders?
Cheers in advance
Jeff

Sakis

2016-10-25 11:24:18

Could you post only the note Hog transmits for encoders 2,3 and fader 6,7 ? :)

visualvoodoo

2016-10-25 11:36:11

Sure

Fader 6 is - B0 0F 01

Fader 7 is - B0 10 07

Encoder 2 is - B0 0F 01

Encoder 3 is - B0 10 01

For some reason they repeat?????
Cheers
Jeff

Sakis

2016-10-25 12:23:48

This is the Control Change :)
I want the note on messages that Hog transmits , it's something like

90 xx xx

It starts with 90 (btw means note on.channel 1)

visualvoodoo

2016-10-25 13:09:37

sorry, was in a hurry and didnt read properly...

Fader 6 is - 90 0A 05

Fader 7 is - 90 0A 06

Encoder 2 is - 90 0E 01

Encoder 3 is - 90 0E 02

The control change it send sends out however are the same

Fader 6 is - B0 0F 01

Fader 7 is - B0 10 07

Encoder 2 is - B0 0F 01

Encoder 3 is - B0 10 01

Hope this helps

Cheers

Sakis

2016-10-25 13:27:13

The sum is the same :(
Fader 6 : 90 0A 05 -> 0A + 05 = 0F
Encoder 2 : 90 0E 01 -> 0E + 01 = 0F

As a last try we will subtract note on - velocity (and make sure that the result will not be a negative number )

Else you have to make 32+ translators for every encoder/fader etc.
I will make first 2 translators and then you can make your own the rest ones....

In the meantime try the subtract approach
Attachments
hog3.bmtp
(836 Bytes) Downloaded 122 times

visualvoodoo

2016-10-25 13:44:46

hey there mate,
just wanted to send through straight away to say that it appears that has solved the issue. I will need to test a little more but at this stage it looks like that is now working with all faders seperate
Thanks heaps mate
I wanted to tell you before you made the other one for me
Thanks heaps for all your help...
You rock!!
Cheers
Jeff

Sakis

2016-10-25 13:51:53

Have fun :D

PS. You could try removing the rule

Code: Select all

if pp<=0 then oo=177
and check if there are any conflicts.