Hi, i can't find a solution for an error i get. I'm building a granular glitch effect, but i get an inlet: expected 'float' but got 'bang' error. I just can't figure out how to solve this problem. Is there anybody who could help me?
-
Can't find a solution for an error
-
I deleted voice router from main and it stopped sending errors.
-
@witteruis ctrl+click on the red error line to find the error.
Read here below Fig. 2.1.7 https://msp.ucsd.edu/Pd_documentation/resources/chapter2.htm -

-
here I found it

-
@witteruis said:
i get an inlet: expected 'float' but got 'bang' error.
One problem is the connection from [sel] to the right inlet of [spigot]. This right inlet must be 0 to close it, or nonzero to open it. "Bang" doesn't mean anything to it.
You'll have to use the [sel] outputs to trigger message boxes with 0s and 1s, or work out a different kind of modulo logic.
hjh
-
Thanks, this is quite helpful!