Welcome to %s forums

BrainModular Users Forum

Login Register

Control MIDI flow to trig a sampler only once

I need help on a Patch
Post Reply
BatKam
Member
Posts: 20
Contact:

Unread post by BatKam » 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 :
Image

Thanks in advance for your help :)

Batkam

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 24 Feb 2017, 11:30

Hello. Try to insert a from 0 to 1 module between a=b and Play burton. Regards.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests