Quick Sign In:  

Forum: Old versions

Topic: encoder knob on APC40 difficult to map

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

Trying to map these knobs properly, but having a hard time.

If I use param_greater 0%, and I rotate to the right, it works fine. Now, I noticed I have to rotate it to the left quite a bit before it "realizes" that I'm less than 0%. I checked the midi packet information and this knob goes from 00 to 7F. I just can't make it where as soon as I switch direction, the effect sliders immediately go in reverse.

Any suggestions? If I don't suggest a param_greater than, it actually works fine both ways, but as soon as I touch the knob after reseting the effect slider to lets say 50%, VDJ "remembers" the knobs last position, and my slider jumps to the last position.
 

geposted Sat 19 Nov 11 @ 7:57 pm
Hmm.. think I got it to work. I edited the device.xml

from <slider ....> to

<fullencoder cc="0x30" name="Track_Control_1" full="128" />

EDIT: Doesn't work 100%. If I rotate to the right a bit, and move the effect slider to 'center' with my mouse, as I keep rotatin the knob to the right, it runs into a limit. I have to rotate it quite a bit to the left to have the knob gain back some encoder values.
 

geposted Sat 19 Nov 11 @ 8:06 pm
not sure if its the same, but I have an mpd24, the knobs on that, although endless in rotation are actually absolute, not sure what akai were thinking when making the unit..

it the knobs are actually endless encoders, try mapping with "param_greater 50%"
 

geposted Sat 19 Nov 11 @ 10:39 pm
Tried that. I read the midi messages. The encoder will go from 0x00 to 0x7F. Once it reaches each limit, it keeps sending 00 or 7f (depending on where it is).

When using param_greater 50%, if I'm at 25% and am increasing to 50%, I'm still below 50%, so it will continue to go in the wrong direction. Once I pass 50%, it goes the correct direction.

Running out of option. Have quite a few usefull knobs with little use to me at this point.

 

geposted Sun 20 Nov 11 @ 6:55 am
It's a knob that sends an absolute value, so can only be mapped to absolute functions such as EQ, volume, effect slider, etc.

The correct definition for it is:

<slider cc="0x30" name="Track_Control_1" />

<encoder> and <fullencoder> will only work with endless encoders that send relative -/+ movements.
 

geposted Sun 20 Nov 11 @ 4:50 pm


(Alte Themen und Foren werden automatisch geschlossen)