Ingresar:     


Forum: General Discussion

Tópico: HOW TO SELECT A MODE INSTEAD OF CYCLE THROUGH?

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

Kind of a noobish question but the obvious mapping doesn't seen to work. Created a cycle mode button as described in...

http://www.virtualdj.com/wiki/Make%20buttons%20perform%20different%20functions%20depending%20on%20what%20mode%20is%20selected.html

What i'm trying to do is create a button to select 'mode' 1 and have "INTRO SAMPLES" mapped to the sampler ... another button select 'mode' 2 and have "LOOPS" mapped to the sampler... etc. instead of having to cycle through the numerous modes to get to the desired samples.
The goal is to have the keyboard "Q" button select mode 1 and "W" select mode 2 and so on. Any ideas?
 

Mensajes Sat 01 Sep 12 @ 8:10 am
buttons to change the mode

set '$mode' 1
set '$mode' 2
set '$mode' 0

sampler play buttons

var '$mode' 1 ? sampler load 'path/to/intro_sample.vdj' sampler loop off & sampler play_stutter : var '$mode' 2 ? sampler load 'path/to/loop_sample.vdj' & sampler loop on & sampler play_stop : whatever you want the buttons to do if not in mode 1 or 2
 

YOU ARE THE MAN!!!
Thanks again Synthet1c.
 



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