switch output if value is > x

    Apr 03 2006 | 1:01 pm
    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