form caption("Auto Test") size(370, 140) pluginid("ysdt")
rslider bounds(12, 8, 150, 123), channel("att"), range(0, 1, 0.01, 1, 0.001), text("ParameterSlider")
checkbox bounds(174, 78, 194, 40) channel("check1") text("Modify Slider Parameter"), automatable(0)
checkbox bounds(172, 16, 195, 40), channel("disarm"), text("Chnset Mapping Enabled"), , automatable(0)
-n -d -+rtmidi=NULL -M0
; Initialize the global variables.
;sr is set by the host
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
kDisarm chnget "disarm"
chnset kDisarm, "CHNSET_GESTURES"
kCheck chnget "check1"
if changed(kCheck) == 1 then
chnset random:k(0, 1), "att"
endif
endin
;causes Csound to run for about 7000 years...
i1 0 z