Forum: General Discussion

About VirtualDJ and DJing in general

If you need extended support, contact our Support Team.
Forum Guidelines  (*) The moderators hold the rights to move or modify posts in order to keep the discussions clear or to facilitate the search.
Tema: Calling forth the mapping GODs.
Filter knob Color FX: Change FX assigned to the Filter on the mixer channel

effect active ‘colorfx’ ? effect_colorslider ‘colorfx’ : filter

holding ? custom_button 2 : custom_button 1

holding ? custom_button 7 : custom_button 6

effect_active ‘colorfx & effect_select ‘colorfx’ ‘distortion’

effect_active ‘colorfx & effect_select ‘colorfx’ ‘reverb’

effect_active ‘colorfx & effect_select ‘colorfx’ ‘echo’

effect_active ‘colorfx & effect_select ‘colorfx’ ‘flanger’

Previously I used this LED map to display what was active on the Filter

LED_FX1_ASSIGN (needs updating with blink reverb)
effect_active ‘colorfx’ && effect_select ‘colorfx’ ‘distortion’

LED_FX2_ASSIGN (needs updating with blink flanger)
effect_active ‘colorfx’ && effect_select ‘colorfx’ ‘echo’

This worked perfectly but now I've added another 2 FX (RVERB & JET) the LED part needs expanding. My intention was to use BLINK. I've tried all sorts of combinations from looking at other commands. I've even had the button blink, be on or off, depending, but it wasn't right. I can't figure it out.

Any help will be greatly appreciated.

Also. If i wanted to use the FILTERROLL FX on the FILTER via custom button 2 being 'filterroll' not 'reverb', how would I assign it. I can easily get the filterroll to be there changing "effect_active ‘colorfx & effect_select ‘colorfx’ ‘reverb’" to "effect_active ‘colorfx & effect_select ‘colorfx’ ‘filterroll’" but as the filterroll already behaves like the color slider, it doesn't work as you'd intend. "FILTER = effect active ‘colorfx’ ? effect_colorslider ‘colorfx’ : filter" would no doubt need changing. This one might be a little more complex so not as important as my first query.

Many thanks in advance.

Mensajes Fri 06 Apr 18 @ 12:46 am
Anybody? I know it's a complex one but I need to learn more advanced mapping code. Thank you.

Mensajes Sun 08 Apr 18 @ 12:36 pm
locodogPRO InfinityModeratorMember since 2013
effect_active ‘colorfx’ ? effect_select ‘colorfx’ ‘distortion’ ? on : effect_select ‘colorfx’ ‘reverb’ ? blink : off : off

Try that. Does it make sense?

Mensajes Sun 08 Apr 18 @ 9:21 pm
Thank you very much, i'll try this now. It looks like this will help me with quite a few other areas of code too.

Mensajes Mon 09 Apr 18 @ 7:54 pm
Yes... Thank you. This works 100%. I was close with my attempts but it was the off command I had wrong, especially the double part of it. Thank you.

Mensajes Mon 09 Apr 18 @ 9:58 pm
locodogPRO InfinityModeratorMember since 2013
Ney worries, what's this about filter roll, can you describe the unexpected behaviour?

Mensajes Tue 10 Apr 18 @ 5:31 am
I missed your reply here. My issue with using Filter Roll on the filter was, setting it up via the colorfx slider string means it has the center pot 3 times, as it is already set to have a center position by default. Filter Roll needs to be assigned as normal, not as a colorfx slider but this messes up everything already coded. That was quite hard for me to find the right words, hope it makes sense.

Mensajes Thu 17 May 18 @ 11:33 am