output bang when == is true

poliver1988's icon

I'm trying to implement a 'fancy' interface using tab object and bpatchers.

I need bang to be sent out of the tab object depending on the output. So I've got ==0, ==1, ==2, ==3 setup. but the problem is they all output a bang no matter whether its true of false...

:(

nouserid's icon

You've probably figured it out already but in case you haven't, I think this is what you're looking for. [==] Outputs a 1 or 0 depending on whether it's true or false so if you have a button after [==] it will bang no matter what.

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

poliver1988's icon

Thanks man! That's perfect.

I've found a work around 8 ) but will def do it your suggested way next time I need it.

cskracer's icon

Poliver do you have an example of your interface patch I could have a look at? I'm building a device to control an old Emu E5000 Ultra sampler and it has a huge amount of controls. I'd love to be able to implement some form of tabbed display so I could cut down the size of the device to a few controls at a time.

LSka's icon

you can simply use [select 1 2 3]