Hi everyone,
I'm trying to send a k array using OSCsend (Csound 7):
OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y, k_arr)
But I'm getting:
error: Unable to find opcode entry for 'OSCsend' with matching argument types
Are arrays supported? Am I missing something?
Pierre
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here
vlz
(vlz)
2
I don't think they were ever supported, even if the manual says they are.
Prof. Victor Lazzarini
Maynooth University
Ireland
Ok, thanks. Will try something else.
Actually it can be done, and I do it. Here is some working code: https://github.com/DaveSeidel/music-src/blob/master/implication-organ/inc/global_presets.orc#L121
The arrays are declared and populated above this line, and they are declared as type S[].
But I’m not trying to send a bundle. I’m trying to send an array to ONE destination.
I’m sending to a single destination as well. Not sure what the difference is.
Not sure I’m following. OSCbundle expects an array of destinations, not a single endpoint?
Yes, you’re right, I’m sorry,