Newbie boolean problem

cinaptic's icon

How's the going. Apologies for posting a complete noob problem. I've looked through the tutorials and the forum and I can't find an answer to my dilemna. I'm sure this is a laughably simple problem, but I really can't seem to find the solution myself after many hours searching, so any help would be much appreciated!

Essentially I'm trying to build a patch that will play several layers of .wav samples, some at random intervals. I've used "random", "counter" and boolean operations to try to do this. The problem lies with the boolean output - I thought I could make it send a bang for a true statement and no bang for false. However, it's sending a bang for both conditions. I think this is because it's actually outputting a '1' or a '0' and both of these are being treated as a bang. Is there any way of changing this?

Max Patch
Copy patch and select New From Clipboard in Max.

Many thanks for your help. Here's the patch...

spectro's icon

Try [sel 1] at the output of your logic to bang on 1

seejayjames's icon
Max Patch
Copy patch and select New From Clipboard in Max.

some ideas here... you had some extra objects that you don't need, this version is a bit slimmed down :)

cinaptic's icon

Ah right, that's a lot more logical now I see it! Many thanks for your help :)