aboutsummaryrefslogtreecommitdiff
path: root/examples/memson-fltk.csd
diff options
context:
space:
mode:
authorRichard Knight <q@1bpm.net>2022-12-30 20:43:17 +0000
committerRichard Knight <q@1bpm.net>2022-12-30 20:43:17 +0000
commit510d32100f523a901d960013c50d481bf63d21df (patch)
treec6a5a782b8b2c320e487776a02a7e70b221ad914 /examples/memson-fltk.csd
parent4f73db87c653ccffcb3cddddaf003b9d09546122 (diff)
downloadcsound-datacore-510d32100f523a901d960013c50d481bf63d21df.tar.gz
csound-datacore-510d32100f523a901d960013c50d481bf63d21df.tar.bz2
csound-datacore-510d32100f523a901d960013c50d481bf63d21df.zip
fix permissions on reading and mempsname
Diffstat (limited to 'examples/memson-fltk.csd')
-rw-r--r--examples/memson-fltk.csd2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/memson-fltk.csd b/examples/memson-fltk.csd
index 44e80a8..301bdc8 100644
--- a/examples/memson-fltk.csd
+++ b/examples/memson-fltk.csd
@@ -18,7 +18,7 @@ FLrun
instr 1
idata[] memps
- ipid = idata[int(random(0, lenarray(idata)-1))]
+ ipid = 5945
Sname = sprintf("%s (%d)", mempsname(ipid), ipid)
FLsetText Sname, gilabel
a1 memson ipid, gkx, gky, 44100, 1