; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sr = 48000
ksmps = 1
;nchnls = 2
0dbfs = 1
instr 1
kndx = 0
printf("RTClock: %g\n", 1, rtclock:k())
while (kndx < 1000000) do
chnset kndx, sprintfk("key%d", kndx)
kndx += 1
od
printf("RTClock: %g\n", 1, rtclock:k())
kndx = 0
while (kndx < 1000000) do
kval = chnget(sprintfk("key%d", kndx))
kndx += 1
od
printf("RTClock: %g\n", 1, rtclock:k())
turnoff
endin
; ==============================================
i 1 0 0.1