hsc3-0.18: Help/UGen/formlet.help.lhs
> import Sound.SC3 {- hsc3 -}
> g_01 = formlet (impulse AR 20 0.5) 1000 0.01 0.1
> g_02 =
> let f = xLine KR 10 400 8 RemoveSynth
> in formlet (blip AR f 1000 * 0.1) 1000 0.01 0.1
Modulating formant frequency.
> g_03 =
> let s = blip AR (sinOsc KR 5 0 * 20 + 300) 1000 * 0.1
> ff = xLine KR 1500 700 8 RemoveSynth
> in formlet s ff 0.005 0.04
Mouse control of frequency and decay time.
> g_04 =
> let s = blip AR (sinOsc KR 5 0 * 20 + 300) 1000 * 0.1
> x = mouseX KR 0.01 0.2 Exponential 0.2
> y = mouseY KR 700 2000 Exponential 0.2
> in formlet s y 0.005 x
and again (control-rate)...
> g_05 =
> let s = dust 'α' KR (mce2 10 11)
> x = mouseX KR 0.1 2 Exponential 0.2
> y = mouseY KR 7 200 Exponential 0.2
> f = formlet s y 0.005 x
> in k2a f + sinOsc AR (f * 200 + mce2 500 600 - 100) 0 * 0.2