快速登录:  

Forum: Old versions

话题: Mapping Knobs - Page: 1

由于该帖子的部分内容已年深日久,可能包含陈旧过时或描述错误的信息。

Can someone help with mapping knobs. The mc6000 has problems when the eq knobs at 12 o' clcock. When the EQ knobs are positioned at the stopping centerpont, they always register at a wrong percentage. Example, Trebble at noon position registers as 48.3%

I would like to add commands to the mapping that would allow snapping so that if the knob is at noon and registers at a number close to 50%, it will just snap to it.


I tried:
param_greater 48% ? & param_smaller than 49.99% ? : eq_low 50% : eq_low


and variations of the above.
I can only seem to get it to snap in one direction. Ie, twist knob from 0 to 48.1% will snap to 50% but I can't continue to twist fader to achieve higher than 50%


 

发表时间 Wed 11 Jan 12 @ 11:47 pm
try something like "param_multiply 103.4% & eq_low"
 

发表时间 Thu 12 Jan 12 @ 1:23 am
Helps a little. But creates new problems. The knobs work perfect when twisting from 100% to 50%.... But not 0 to 50%
So now, I don't get exactly 50 in either direction... But the number is closer to 50...
 

发表时间 Thu 12 Jan 12 @ 1:56 am
 

发表时间 Thu 12 Jan 12 @ 2:36 am
yeah, the eq isn't the problem though.
The controller isn't giving precise midi instructions

I basically need a script that will say: from 48% to 49.9% = snap to 50%
50.1% to 52% = snap to 50%
All else normal rotation
 

发表时间 Thu 12 Jan 12 @ 3:07 am
basically, if the knob is in a specific range, then snap to 50%
 

发表时间 Thu 12 Jan 12 @ 3:08 am
param_greater 48% ? param_smaller 52% ? : eq_low 50% : eq_low : eq_low
 

发表时间 Thu 12 Jan 12 @ 3:17 am
Doesn't snap... just acts normal
 

发表时间 Thu 12 Jan 12 @ 4:30 am
I also tried replacing 50% with eq_reset....

It doesn't reset with knob is between these values
 

发表时间 Thu 12 Jan 12 @ 4:31 am
I'm hopping a rep from Virtual DJ can help out here.

Still having problems... even after firmware update.

I downloaded Midiox to see if the problem exists in the unit vs VDJ.

The MC6000 sends a perfect midi code of "40" on data2 when any EQ knob is in the 12 o clock position.
Virtual DJ should register the EQ knobs as 50% at the 12 o' clock position.
However, it registers it as 50.39%


I'm also still looking for a way to 'snap' knobs other than 'eq' to the 12 o clock position. The other knobs do not have a physical feel for knowing when it is perfectly at 12.
 

发表时间 Sun 22 Jan 12 @ 7:32 pm
Was able to achieve what I wanted, but not able to string the code together by ":" or "?" or "&"
The following works, only if I use one line at a time. How can I string all this code together in one line?

action_deck 1 ? deck 3 eq_low & param_greater 49.6% ? deck 3 eq_low 50% & param_greater 50.4% ? deck 3 eq_low
action_deck 2 ? deck 1 eq_low & param_greater 49.6% ? deck 1 eq_low 50% & param_greater 50.4% ? deck 1 eq_low
action_deck 3 ? deck 2 eq_low & param_greater 49.6% ? deck 2 eq_low 50% & param_greater 50.4% ? deck 2 eq_low
action_deck 4 ? deck 4 eq_low & param_greater 49.6% ? deck 4 eq_low 50% & param_greater 50.4% ? deck 4 eq_low
 

发表时间 Wed 25 Jan 12 @ 12:19 am
for every variable you need to have a true and a false to move on to the next part... what you have is three queries

action_deck 1 ? deck 3 eq_low & param_greater 49.6% ? deck 3 eq_low 50% & param_greater 50.4% ? deck 3 eq_low

action_deck 2 ? deck 1 eq_low & param_greater 49.6% ? deck 1 eq_low 50% & param_greater 50.4% ? deck 1 eq_low : nothing

action_deck 3 ? deck 2 eq_low & param_greater 49.6% ? deck 2 eq_low 50% & param_greater 50.4% ? deck 2 eq_low : nothing : nothing

action_deck 1 ? deck 3 eq_low & param_greater 49.6% ? deck 3 eq_low 50% & param_greater 50.4% ? deck 3 eq_low : nothing : nothing : action_deck 2 ? deck 1 eq_low & param_greater 49.6% ? deck 1 eq_low 50% & param_greater 50.4% ? deck 1 eq_low : nothing : nothing : action_deck 3 ? deck 2 eq_low & param_greater 49.6% ? deck 2 eq_low 50% & param_greater 50.4% ? deck 2 eq_low : nothing : nothing : action_deck 4 ? deck 4 eq_low & param_greater 49.6% ? deck 4 eq_low 50% & param_greater 50.4% ? deck 4 eq_low : nothing : nothing
 

发表时间 Wed 25 Jan 12 @ 1:24 am
Thanks for the quick reply...


Just scratching the surface of programing. Trying to read the wiki... Kinda confusing. But catching on little by little.

What you just sent works on only deck 1 and 4. Is there a reason it wouldn't work on deck 2 and 3?
 

发表时间 Wed 25 Jan 12 @ 2:28 am
no worries bro, try this to see if the problem is the hardware or the mapping, sorry I dont have a 4 channel controller to try it on..

eq_low & param_greater 49.6% ? eq_low 50% & param_greater 50.4% ? eq_low
 

发表时间 Wed 25 Jan 12 @ 2:39 am
this code: eq_low & param_greater 49.6% ? eq_low 50% & param_greater 50.4% ? eq_low
Only affects deck 2 and deck 4...

The mc6000 needs to be remapped for correct layout.
 

发表时间 Wed 25 Jan 12 @ 2:44 am
that's weird, if you don't put a deck designation it goes by the definition file so they all should work, do you have to change the settings of the denon so all channels send midi?

also this script might be a little less confusing to vdj as its not telling it to do two things at once...

param_smaller 49.6% ? eq_low : param_greater 50.4% ? eq_low : eq_low 50%
 

发表时间 Wed 25 Jan 12 @ 2:52 am
I just switched from pc to internal mixing and all knobs work... But they don't control the right deck


MC6000 : VDJ
Channel 1 controls channel 2
Channel 2 controls Channel 3
Channel 3 Control Channel 1
Channel 4 Controls Channel 4


So yeah, it's a Denon thing. Must be remapped
 

发表时间 Wed 25 Jan 12 @ 2:57 am
this is how it's suppose to be mapped prior to anything I made:
action_deck 1 ? deck 3 eq_low : action_deck 2 ? deck 1 eq_low : action_deck 3 ? deck 2 eq_low : action_deck 4 ? deck 4 eq_low
 

发表时间 Wed 25 Jan 12 @ 3:07 am
that's a really weird layout I thought it would have been 3-1-2-4 or 1-2-3-4, anyway that is why you use "action_deck 1 ?" It works like this

action_deck 1 ? param_smaller 49.6% ? deck 1 eq_low : param_greater 50.4% ? deck 1 eq_low : deck 1 eq_low 50% :

action_deck 2 ? param_smaller 49.6% ? deck 2 eq_low : param_greater 50.4% ? deck 2 eq_low : deck 2 eq_low 50% :

action_deck 3 ? param_smaller 49.6% ? deck 3 eq_low : param_greater 50.4% ? deck 3 eq_low : deck 3 eq_low 50% :

action_deck 4 ? param_smaller 49.6% ? deck 4 eq_low : param_greater 50.4% ? deck 4 eq_low : deck 4 eq_low 50%

that's weird, I think it is already defined as 3-1-2-4... try this again

param_smaller 49.6% ? eq_low : param_greater 50.4% ? eq_low : eq_low 50%

otherwise this follows your diagram, or maybe im confused, which is entirely possible LOL

action_deck 1 ? param_smaller 49.6% ? deck 1 eq_low : param_greater 50.4% ? deck 1 eq_low : deck 1 eq_low 50% : action_deck 2 ? param_smaller 49.6% ? deck 2 eq_low : param_greater 50.4% ? deck 2 eq_low : deck 2 eq_low 50% : action_deck 3 ? param_smaller 49.6% ? deck 3 eq_low : param_greater 50.4% ? deck 3 eq_low : deck 3 eq_low 50% : action_deck 4 ? param_smaller 49.6% ? deck 4 eq_low : param_greater 50.4% ? deck 4 eq_low : deck 4 eq_low 50%

********EDIT**************
this is how I thought you were mapping it... if the controller is defined as 1-2-3-4, this will change it to 3-1-2-4

action_deck 1 ? param_smaller 49.6% ? deck 3 eq_low : param_greater 50.4% ? deck 3 eq_low : deck 3 eq_low 50% : action_deck 2 ? param_smaller 49.6% ? deck 1 eq_low : param_greater 50.4% ? deck 1 eq_low : deck 1 eq_low 50% : action_deck 3 ? param_smaller 49.6% ? deck 2 eq_low : param_greater 50.4% ? deck 2 eq_low : deck 2 eq_low 50% : action_deck 4 ? param_smaller 49.6% ? deck 4 eq_low : param_greater 50.4% ? deck 4 eq_low : deck 4 eq_low 50%
 

发表时间 Wed 25 Jan 12 @ 3:15 am
Your awesome! I wish I could make heads and tails of this.... but, this was the final code:

action_deck 1 ? param_smaller 49.6% ? deck 3 eq_low : param_greater 50.4% ? deck 3 eq_low : deck 3 eq_low 50% : action_deck 2 ? param_smaller 49.6% ? deck 1 eq_low : param_greater 50.4% ? deck 1 eq_low : deck 1 eq_low 50% : action_deck 3 ? param_smaller 49.6% ? deck 2 eq_low : param_greater 50.4% ? deck 2 eq_low : deck 2 eq_low 50% : action_deck 4 ? param_smaller 49.6% ? deck 4 eq_low : param_greater 50.4% ? deck 4 eq_low : deck 4 eq_low 50%


I'm heading to bed... but there's on last thing I hoping to accomplish... almost the same thing:

map a physical knob on the mc6000 to respond only from 0%-45% and 55%-100 (Anything in between should snap to 50%)

The current code can achieve this, but I loose 5% access to the parameter in both directions.
That means I can never achieve 46%-54%

IE,

If the knob is at 7 o'clock (all the way to the left) it should register at 0% (Which it currently does)
If the knob is at 11 o'clock, the effect which I'm trying to control should be at 50% (According to what I'd like)
If the knob is at 1 o'clock, the effect should begin at 50.1%

So basically, there should be a gap in the physical knob between 11 o'clock and 1 o'clock
This would allow a small area where the effect will be at 50% (Even though the knob isn't exactly there)

Why do I want this? The effect knobs on the mc600 don't have a physical point at which you know it is center. This way, I can be a little off, and still be exactly at 50%
 

发表时间 Wed 25 Jan 12 @ 3:31 am
87%