switch output if value is > x

Tilgino's icon

hi,

i generate a sinetone with the cycle~ object which is modulated in its volume with data from oscinput (from 0. to 1) and going out to channel 1&2
now:
if the oscinput is higher 0.8 the output should switch to a prerecorded sample and the sinetonevolume should be 0 again...

how did i get this to work?

thx peter

Jean-Francois Charles's icon