Page 1 of 1
Posted: 22 Sep 2010, 17:30
by cmodica
I'd like to build a patch with 3 buton and each of them play a different sample.
I have one sampler stereo with 3 sound file.
I would like to have 3 buton, one for each file.
The buton1 select the first sound file in the list (number 0) and play it
The buton2 select the second sound file in the list (number 1) and play it
The Buton3 select the third sound file in the list (number 2) and play it
....
It seems to be very simple but i can't find a solution. I try without succes with Math Module, from 0 to 1, from 1 to 0 ....
I need a little help.
Thanks
Posted: 22 Sep 2010, 17:55
by headphoner
Hi,
did you tried the multiple variable module ?
put an "has changed" to the out it will send 1 to the play sampler
Works fine
Posted: 22 Sep 2010, 18:26
by nay-seven
yep, something like this :
( this is for
play button mode , if you use the
loop mode , you can delete the
has change module)

Posted: 22 Sep 2010, 18:48
by cmodica
YES !!! Great !
It's work fine. Exactelly what i need !
I had to take a look at the manual to know all the module ....
Thank you very much.

Posted: 22 Sep 2010, 19:01
by cmodica
Even in Play mode i don' need a 'has change''.
I use a ''Wait one cycle'' to be sure that the sound file is selected before playing.
It works fine.
Thank you very much.

Posted: 22 Sep 2010, 19:05
by 23fx23
Btwn with new V5 buttons, you can simplify and get rid of multivar, simply enter the sample nb as button on value,
enabling "null evt if off'. however if sample nb is 0 (have to put -1 has off value), slighty lower CPU i think

Posted: 22 Sep 2010, 20:03
by nay-seven
right !
often forget that button have same features than switches now !
1 point for you

Posted: 23 Sep 2010, 09:53
by cmodica
Wahou !! Beautiful !!!
i forgot the new features of the Buton.
I will try it immediatly.
Thanks.
Posted: 23 Sep 2010, 13:49
by cmodica
I have a new question about this patch.
The buton1 play sampl1. But if i want to re-play the sample 1 before play an other one i can't becuse there is no change in the ''has change'' module.
How can ido that ?
i could just ad a play buton directly connected to the play of the sampler, but i want to remote the 3 butons with a control surface ...
thanks
Posted: 23 Sep 2010, 14:10
by nay-seven
this can do the job :
( same system of course for on/off value )
oops, forget it .........don't see about the midi learn...
Posted: 23 Sep 2010, 14:30
by nay-seven
so back to old methods...
my first patch works whith midi learn...