Newbie boolean problem

May 11, 2012 at 8:10am

Newbie boolean problem

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?

Many thanks for your help. Here’s the patch…

– Pasted Max Patch, click to expand. –
#63548
May 11, 2012 at 8:15am

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

#229080
May 12, 2012 at 8:12pm

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

– Pasted Max Patch, click to expand. –
#229081
May 13, 2012 at 11:02am

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

#229082

You must be logged in to reply to this topic.