Polly
2012-11-09 12:39:54
Hi,
I'm new here and to MT in general and I'm having a few confusing problems.
I'm trying to get MT to control a pot on an audio plug-in from my midi controller using an endless detented rotary encoder but whatever rules I try to use I just get erratic behaviour from the plug-in (the pot on the plug-in tends to jump from 0 to 127 as I turn the encoder).
I have looked through other posts on the forum but have yet to find anything suitable.
The midi message sent out from the encoder is B0 5A 00 and is the same whether turned clockwise or anti clockwise.
The message is also duplicated when I turn the encoder which I assume is due to the detents on the encoder.
I have tried rules such as ga=ga+1, IF ga>127 THEN ga=127, ga=ga-1, IF ga<0 THEN ga=0. (OUTGOING: B0 5A ga) but with no success.
Ideally I want the rules to increment the pot on the plug-in by 1 as it is turned clockwise and decrease by 1 as it is turned anti clockwise.
Is this possible or can anybody offer any help ?
Thanks
I'm new here and to MT in general and I'm having a few confusing problems.
I'm trying to get MT to control a pot on an audio plug-in from my midi controller using an endless detented rotary encoder but whatever rules I try to use I just get erratic behaviour from the plug-in (the pot on the plug-in tends to jump from 0 to 127 as I turn the encoder).
I have looked through other posts on the forum but have yet to find anything suitable.
The midi message sent out from the encoder is B0 5A 00 and is the same whether turned clockwise or anti clockwise.
The message is also duplicated when I turn the encoder which I assume is due to the detents on the encoder.
I have tried rules such as ga=ga+1, IF ga>127 THEN ga=127, ga=ga-1, IF ga<0 THEN ga=0. (OUTGOING: B0 5A ga) but with no success.
Ideally I want the rules to increment the pot on the plug-in by 1 as it is turned clockwise and decrease by 1 as it is turned anti clockwise.
Is this possible or can anybody offer any help ?
Thanks