> 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