packages feed

hsc3-0.17: Help/UGen/mouseButton.help.lhs

    Sound.SC3.UGen.Help.viewSC3Help "MouseButton"
    Sound.SC3.UGen.DB.ugenSummary "MouseButton"

> import Sound.SC3 {- hsc3 -}

As amplitude envelope

> g_01 = sinOsc AR 800 0 * mouseButton KR 0 0.1 0.1

There is a variant that randomly presses the button.

> g_02 = sinOsc AR 800 0 * mouseButton' KR 0 0.1 0.1