oddson ·
Can anyone confirm without me having to build test code that adding two monoboolean streams to a single input will give an 'OR' result into the receiving module?
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
oddson ·
Can anyone confirm without me having to build test code that adding two monoboolean streams to a single input will give an 'OR' result into the receiving module?
MyCo ·
Streamboolean are just streams with a different symbol. So if you can convert streams to streamboolean and vice versa without loosing its value.
When you add 2 monoboolean your result is added like normal. But if you only check with "equal zero" or "greater zero" you can use it as OR and you could use multiplication as AND (not supported by rule checking, you have to force a link).
oddson ·
😮 😕 My first reaction is 'that can't be right' but a cursory test says it is.
rl ·
I can't check that right now, since I'm far away from my SM capable machine. But in case monobool's are treated as int's it should be possible, but only for or-ing int's with single bits set like in 1 2 4 8 16,... Note that e.g. 3 + 1 = 4 but 3 OR 1 is 3
____________________ Temporarily greetings from San Francisco. The city of open wireless lan connections
MyCo ·
they are treated as floats, like normal streams. So there is only one way to boolean compare, which is the comparing with zero.
Wrote something here? To have a post removed or your name hidden, write to [email protected].