Ingreso rápido:  

Forum: Old versions

Tema: Temporary Crossfade mapping

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

Hi
I'm using m-audio xponent and l like to tweak some of its mapping. There are 2 buttons aside crossfader which already mapped to temporary crossfade while pressed. (crossfade jumps to the sides).
I also want to add second option to keep the crossfade position by holding the same button for 2 seconds. (so it wont jump back to the last value ). somehow by adding the second command the temporary action is disabled.

default mapping : action_deck 1 ? crossfader 0% temporary : crossfader 100% temporary

new mapping : holding 2000ms ? action_deck 1 ? crossfader 0% : crossfader 100% : action_deck 1 ? crossfader 0% temporary : crossfader 100% temporary
 

Mensajes Thu 05 Mar 15 @ 10:52 pm
Yes, temporary (or better yet "while_pressed") and "holding" can't work together on the same script...
 

Mensajes Fri 06 Mar 15 @ 12:56 am
So, what are my options?
 

Mensajes Fri 06 Mar 15 @ 1:18 am
locoDogPRO InfinityModeratorMember since 2013
You've got a shift button

I'm not sure what your shift variable is but it's usually '$shift'

action deck 1 ? var '$shift' ? crossfader 0% : crossfader 0% while_pressed : var '$shift' ? crossfader 100% : crossfader 100% while_pressed

or you could slap the crossfader about
 

Mensajes Fri 06 Mar 15 @ 8:00 am
locoDogPRO InfinityModeratorMember since 2013
Pondering, could you take the current XF reading as a variable 'XFold'

Then in the !holding reply, reply with down ? new XFader position : set crossfader to variable 'XFold'
I'm not on my machine so I can't check.
 

Mensajes Fri 06 Mar 15 @ 8:21 am
locoDogPRO InfinityModeratorMember since 2013
After testing "holding & down" don't play together well.

I've one more idea that if you press and hold one button and press the other then it sticks to position 1, if you're interested.
 

Mensajes Fri 06 Mar 15 @ 11:04 am
that's like a great idea. so I can hold crossfade button and than press another key to disable temporary position and stick it . am I right? how can I map that?
 

Mensajes Fri 06 Mar 15 @ 8:51 pm
locoDogPRO InfinityModeratorMember since 2013
Yeah, holding the "punch in" button and pressing the other punch in button will do what you want, I'm drunk now but I'll give you the script when I can see straight.
 

Mensajes Sat 07 Mar 15 @ 5:48 pm
lool. cool, I'll wait for it
 

Mensajes Mon 09 Mar 15 @ 12:38 am
locoDogPRO InfinityModeratorMember since 2013
It should be something like this

set '$OldXF' '`crossfader' & action_deck 1 ? down ? var_equal '$Rpunch' 1 ? nothing : crossfader 0% & set '$Lpunch' 1 : get_var '$OldXF' & param_cast & crossfader & set '$Lpunch' 0 : down ? var_equal '$Lpunch' 1 ? nothing : crossfader 100% & set '$Rpunch' 1 : get_var '$OldXF' & param_cast & crossfader & set '$Rpunch' 0 :


Instead of action_deck 1 I believe device_side 1 can be used but it wasn't working for me on keyboard and your original mapping didn't have that so it should be ok.
 

Mensajes Mon 09 Mar 15 @ 4:55 am


(Los tópicos y foros antiguos son automáticamente cerrados)