packages feed

hsc3-0.18: Help/UGen/rotate2.help.lhs

> import Sound.SC3 {- hsc3 -}

Rotation of stereo sound, via LFO.

> g_01 =
>     let x = pinkNoise 'α' AR
>         y = lfTri AR 800 0 * lfPulse KR 3 0 0.3 * 0.2
>     in rotate2 x y (lfSaw KR 0.1 0)

Rotation of stereo sound, via mouse.

> g_02 =
>     let x = mix (lfSaw AR (mce [198..201]) 0 * 0.1)
>         y = sinOsc AR 900 0 * lfPulse KR 3 0 0.3 * 0.2
>         p = mouseX KR 0 2 Linear 0.2
>     in rotate2 x y p