| how can i get a csound channel value in a python variable or array?
for instance i have this simple csound code ...
instr 1
kCount init 0
if metro(1)==1 then
chnset(kCount,"count")
kCount += 1
endif
endin
... and i want to append the values in python like:
values = []
values.append(cs.channel('count'))
(if a new one is being sent)
is there a clever way to do?
the goal is to collect the different values in a python array at the end.
i am using the jupyter notebooks with iCsound.
thanks -
joachim
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |