hsc3-0.16: Help/UGen/resonz.help.lhs
> Sound.SC3.UGen.Help.viewSC3Help "Resonz"
> Sound.SC3.UGen.DB.ugenSummary "Resonz"
> import Sound.SC3
> let n = whiteNoise 'α' AR
> in audition (out 0 (resonz (n * 0.5) 2000 0.1))
Modulate frequency
> let {n = whiteNoise 'α' AR
> ;f = xLine KR 1000 8000 10 RemoveSynth}
> in audition (out 0 (resonz (n * 0.5) f 0.05))
Modulate bandwidth
> let {n = whiteNoise 'α' AR
> ;bw = xLine KR 1 0.001 8 RemoveSynth}
> in audition (out 0 (resonz (n * 0.5) 2000 bw))
Modulate bandwidth opposite direction
> let {n = whiteNoise 'α' AR
> ;bw = xLine KR 0.001 1 8 RemoveSynth}
> in audition (out 0 (resonz (n * 0.5) 2000 bw))
Mouse exam (1/Q = bandwidth / center-frequency)
> let {n = pinkNoise 'α' AR
> ;m = mouseX KR 36 85 Linear 0.2 {- midi note -}
> ;w = mouseY KR 0.1 5 Linear 0.2 {- bandwidth -}
> ;f = midiCPS (floorE m) {- centre frequency -}
> ;rq = w / f {- 1/Q (reciprocal of Q) -}
> ;o = resonz (n * 0.5) f rq}
> in audition (out 0 o)