packages feed

hsc3-0.7: Help/UGen/Math/scaleNeg.help.lhs

scaleNeg a b

Scale negative part of input wave.  a * b when a < 0, otherwise a.

> import Sound.SC3

> let { o = fSinOsc AR 1000 0
>     ; l = line AR 1 (-1) 4 RemoveSynth }
> in audition (out 0 (scaleNeg o l))