Quick Sign In:  

Forum: Old versions

Topic: Midi Mapping - Endless Encoder

This topic is old and might contain outdated or incorrect information.

The mixer below is a Denon dn-x1600. It has a dedicated midi section. (4) Endless encoder/push button knobs and (4) push buttons. I would like to map 2 knobs, knob 1 to deck 1, knob 2 to deck 2 to increase and decrease the loop length. Basically, turn the knob left one notch, and it cuts the loop in half, next notch, cuts the loop in half, and when you turn it right, it doubles the loop length. What commands/code is required to make that happen. I know the basics, but can't seem to get that to work. Its almost as if it doesn't know if I'm turning the knob left or right.

 

Posted Mon 17 Dec 12 @ 1:10 pm
Try mapping the knob to the following:

param_greater 0 ? deck 1 loop_double : deck 1 loop_half

If it's inverted, change it to:

param_smaller 0 ? deck 1 loop_double : deck 1 loop_half

Map the knob push to:

deck 1 loop

For the other decks, replace deck 1 in each of the above with the appropriate deck number.
 

Posted Tue 18 Dec 12 @ 6:49 am
1) I clicked "Key-learn" and turned the knob I wanted to map.
2) It's key appeared in the left window, which is "1-CC80"
3) In the "Action" section I entered "param_greater 0 ? deck 1 loop_double : deck 1 loop_half"


To test, I click OK and started a loop in deck 1. When I turn the knob, the loop doesn't change.


Did I do anything incorrectly?

P.S. The push part works.
 

Posted Tue 18 Dec 12 @ 9:30 am
Try the following:

param_greater 50% ? deck 1 loop_double : deck 1 loop_half
 

Posted Tue 18 Dec 12 @ 10:57 am
That doesn't work either. I know the knob itself works... because if I assign it to something else, and I turn it left and right, it acts like an on off button.

Any other possibilities? The adjustment of loop length with a knob is one of my most used techniques... I really need it.
 

Posted Tue 18 Dec 12 @ 2:56 pm
Maybe this,

param_greater 50% ? deck 1 loop_select +1 : deck 1 loop_select -1
 

Posted Tue 18 Dec 12 @ 6:50 pm
Boom! Beatbreaker hits!

It worked!!! I just changed the param_greater to param_smaller!

param_smaller 50% ? deck 1 loop_select +1 : deck 1 loop_select -1


Thank you VERY much! I appreciate it!
 

Posted Wed 19 Dec 12 @ 1:11 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Looks like the encoder is inverted..
This should work too, in case you need to go lower then 1/8
param_smaller 50% ? deck 1 loop_double : deck 1 loop_half
 

Posted Wed 19 Dec 12 @ 2:40 am


(Old topics and forums are automatically closed)