Quick Sign In:  

Forum: Old versions

Topic: Multi FX on X1mk2

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

After delaying working on this for almost a year, I finally sat down and played with this. Got it working, except I can't seem to add a REGULAR shift variable to the FX1_EFX3_ON button.

Currently using it in regular mode as the pitch reset, as Knob 3 is mapped to pitch in my scheme. Would like to add the shift function of Key Lock. This is where I am at:

var '$fx1multi' ? var_equal '$fx1' 1 ? var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active : var_equal '$fx1' 2 ? var '$shift' ? deck 2 effect 2 select +1 : deck 2 effect 2 active : var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active : var_equal '$fx1' 1 ? var '$shift' ? deck 1 effect button 5 : deck 1 effect button 2 : var_equal '$fx1' 2 ? var '$shift' ? deck 2 effect button 5 : deck 2 effect button 2 : var '$shift' ? deck left effect button 5 : deck left pitch_reset 1% : var '$shift' ? deck left key_lock

I have a feeling I am missing something small, but I wanted to post before I lost my place. Its been a few hours working on this and all the commands are starting to run together.

And on a side note: I have noticed that I frequently post about mappings. Do others not attempt it? Or am I just that bad at it???
 

Posted Tue 23 Feb 16 @ 4:07 am
You need to brake down your queries and see what you missed:

var '$fx1multi' ?
_____var_equal '$fx1' 1 ?
__________var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active :
_____var_equal '$fx1' 2 ?
__________var '$shift' ? deck 2 effect 2 select +1 : deck 2 effect 2 active :
_____var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active :
var_equal '$fx1' 1 ?
_____var '$shift' ? deck 1 effect button 5 : deck 1 effect button 2 :
var_equal '$fx1' 2 ?
_____var '$shift' ? deck 2 effect button 5 : deck 2 effect button 2 :
var '$shift' ? deck left effect button 5 : deck left pitch_reset 1% :
var '$shift' ? deck left key_lock

Let me brake down your logic:
MULTIFX ON ?
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that
NO MULTI FX ? (Again you didn't typed that but it's the logical step since all evaluations before failed
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that
SHIFT ? this : that
The last line of your code will NEVER evaluate to true in order to be executed.
The reason is that something else will evaluate first.
You start your query by asking if FX1MULTI is true or not. So, you have two blocks and all subsequent commands will follow one way or another.
Your last SHIFT query is outside these two blocks.
I don't know where exactly you want it to execute, but most likely you would want it one step before, so it can execute either here
MULTIFX ON ?
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that
NO MULTI FX ? (Again you didn't typed that but it's the logical step since all evaluations before failed
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that

or here:

MULTIFX ON ?
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that
NO MULTI FX ? (Again you didn't typed that but it's the logical step since all evaluations before failed
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that

Of course you can change both places

MULTIFX ON ?
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that
NO MULTI FX ? (Again you didn't typed that but it's the logical step since all evaluations before failed
_____FX ASSIGN 1 ?
__________SHIFT ? this : that
_____FX ASSIGN 2 ?
__________SHIFT ? this : that
_____NO FX ASSIGN ? (you din't typed that but that's the logic here since FX Assign 1 and 2 are not true)
__________SHIFT ? this : that
 

Posted Tue 23 Feb 16 @ 12:45 pm
DMayock13 wrote :
After delaying working on this for almost a year, I finally sat down and played with this. Got it working, except I can't seem to add a REGULAR shift variable to the FX1_EFX3_ON button.

Currently using it in regular mode as the pitch reset, as Knob 3 is mapped to pitch in my scheme. Would like to add the shift function of Key Lock. This is where I am at:

var '$fx1multi' ? var_equal '$fx1' 1 ? var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active : var_equal '$fx1' 2 ? var '$shift' ? deck 2 effect 2 select +1 : deck 2 effect 2 active : var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active : var_equal '$fx1' 1 ? var '$shift' ? deck 1 effect button 5 : deck 1 effect button 2 : var_equal '$fx1' 2 ? var '$shift' ? deck 2 effect button 5 : deck 2 effect button 2 : var '$shift' ? deck left effect button 5 : deck left pitch_reset 1% : var '$shift' ? deck left key_lock

I have a feeling I am missing something small, but I wanted to post before I lost my place. Its been a few hours working on this and all the commands are starting to run together.

And on a side note: I have noticed that I frequently post about mappings. Do others not attempt it? Or am I just that bad at it???


var '$fx1multi' ? var_equal '$fx1' 1 ? var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active : var_equal '$fx1' 2 ? var '$shift' ? deck 2 effect 2 select +1 : deck 2 effect 2 active : var '$shift' ? deck left effect 3 select +1 : deck left effect 3 active : var_equal '$fx1' 1 ? var '$shift' ? deck 1 effect button 5 : deck 1 effect button 2 : var_equal '$fx1' 2 ? var '$shift' ? deck 2 effect button 5 : deck 2 effect button 2 : var '$shift' ? deck left key_lock : deck left pitch_reset 1%
 

Posted Tue 23 Feb 16 @ 12:47 pm
That's why I love these forums and the support that is offered!

I kinda just play around till I get what I want... Not always the best method... But hey, even a blind squirrel finds a nut now and again!
 

Posted Fri 26 Feb 16 @ 8:44 pm


(Old topics and forums are automatically closed)