Testing for occurrence of 1 condition in 1 element in a spread

Hello,

How to create a patch that tests all elements of a spread and enables one single switch (toggle) IO box if any element in that spread fulfills a condition?

For example:
Suppose there is a spread s containing 12 numeric values. We want to test all 12 values for > 1 (easily done with an > object a the output of the spread). At the output of the > comparison, we want to have a single button that will turn on if any one of the 12 values in the spread is greater than 1.

Thanks

Iannis Zannos

OR (Boolean Spectral)

  • (spectral) will add all spreads together and its output into another > 0, gives you an one/zero which you can take for your switch