Posted: 23 Feb 2017, 15:36
Hello,
I'm receiving MIDI datas (as CC, getting it via MIDI filter code 2). These datas go from 0 to 16, and I would like to trigger a 16 different samples.
For example, if I get MIDI message CC on channel 1 with code 2 (12), it plays the 12th sample on loop while it receives the 12 midi data. As soon as the midi message change, it stops playing the sample and trigger the other sample.
I would like to use only one sampler.
The issue for me is to say "you trigger only once the sampler" when it keeps receiving data.
I uses the block "if A=B". But while the condition is verified, it keeps sending 1 so the sampler can't start, and as soon as the midi message change it can start play the sample.
I've attached the patch here :

Thanks in advance for your help
Batkam
I'm receiving MIDI datas (as CC, getting it via MIDI filter code 2). These datas go from 0 to 16, and I would like to trigger a 16 different samples.
For example, if I get MIDI message CC on channel 1 with code 2 (12), it plays the 12th sample on loop while it receives the 12 midi data. As soon as the midi message change, it stops playing the sample and trigger the other sample.
I would like to use only one sampler.
The issue for me is to say "you trigger only once the sampler" when it keeps receiving data.
I uses the block "if A=B". But while the condition is verified, it keeps sending 1 so the sampler can't start, and as soon as the midi message change it can start play the sample.
I've attached the patch here :

Thanks in advance for your help
Batkam