packages feed

hsc3-0.16: Help/UGen/twChoose.help.lhs

    Sound.SC3.UGen.Help.viewSC3Help "TWChoose"

tWChoose is a composite of tWindex and select

> import Sound.SC3 {- hsc3 -}

> g_01 =
>     let x = mouseX KR 1 1000 Exponential 0.1
>         d = dust 'α' AR x
>         a = mce [sinOsc AR 220 0
>                 ,saw AR 440
>                 ,pulse AR 110 0.1]
>         w = mce [0.5, 0.35, 0.15]
>         o = tWChoose 'β' d a w 0
>     in o * 0.1