Translate a rotary encoder

jockety

2010-07-28 18:12:23

Hi guys, i could really do with some help. I'm trying to work out how to change the note that a rotary encoder is sending from an apc 40.
The reason i'd like t do this is because one of the track control encoders seems to transmit on the same channel+parameter as one of the clip launch buttons, but instead of a note the encoder is sending a control change, which is leading to a conflict of control rendering the encoder useless.

MIDI {'timestamp': 118518398481377.0, 'channel': 1, 'param1': 53, 'message': 'CONTROL_CHANGE', 'rawEvent': 176, 'param2': 19} thats the signal from encoder
MIDI {'timestamp': 118530468545477.0, 'channel': 1, 'param1': 53, 'message': 'NOTE_ON', 'rawEvent': 144, 'param2': 127}
MIDI {'timestamp': 118531738515890.0, 'channel': 1, 'param1': 53, 'message': 'NOTE_OFF', 'rawEvent': 128, 'param2': 127} thats the signal from the top left hand button

anybody know how or if its possible to sort this out? any help greatly appreciated. Cheers jokety

Attigo

2010-07-28 23:59:39

This is quite simple with MT...

You will need a translator which receives the message from your encoder, if you enable the 'capture midi' option you will get a hexadecimal message and you can then change the outgoing message to a different note or channel, just be sure to send through the velocity in the translator, for example...

In B0 01 oo >>> Out B1 02 oo

Here is taking in a Control Change message, channel 1, note 1, with a velocity handled with the local variable 'oo'. It is translated to Control Change message, channel 2, note 2, but keeps the same velocity value from the original message.

Hope this makes sense!

Scott

jockety

2010-07-29 01:56:03

That makes sense, i'm not sure what characters those "00" characters are though!

jockety

2010-07-29 02:15:26

Ok, that sort of worked! i'm getting a different cc note through to modul8 VJ app (which is great!) but the signal is not moving the software control in the receiving application. the learn mode wouldnt pick encoder up unless i turned it to the left (without bomes the control works ok) so maybe theres something else that needs adding?. thanks for your help :D

jockety

2010-07-29 04:08:01

Yip, working like a charm now, thank u for your help, couldnt have done it without you.