I want to read a signal stream, and conditionally alter the value of individual samples coming through before writing to an array. Right now I am doing a [snapshot~] at the sample rate and multiplying by 1 or 0, depending on whether it is above a threshold value, and banging a [tabwrite] at the sample rate to write to the array. It works but this all seems clumsy; is there a way to let the signal remain a signal but intercept and manipulate it at the sample level?
I tried to make a [fexpr~ $x1# > ] but no such object seems to exist