View Single Post
Old 12th January 2020
  #4
Gear Nut
 
Clumsy's Avatar
 

Quote:
Originally Posted by Gitaarwerk View Post
so what I want to do, is using the gate signals from the midi interface to if one of the 4 keys are pressed, or multiple are pressed and released in different order, I want to keep the noise VCA 'open' until all keys are off. Ideally, it should be able to follow one envelope.

Am I right to use the AND operator or should I use OR here?

My developer guts say AND, but OR seems also possible.

What would you guys/girls advice me?
You'd use OR. With AND all of the gates would have to be high for the output to be high. Refer to this table I stole from the Internet...

Which logical operator do i need for this problem-logic.jpg
Attached Thumbnails
Which logical operator do i need for this problem-logic.jpg