Sorry, where can i find the documentation for the „Poly" opcode? it’s also not in the list of opcode when i do „csound -z“ in the terminal.
Belongs this to a package?
Also, regarding your initial question about arrays in UDOs, I think the array will be copied into the UDO when it is called. That would also mean that your recursive UDO call would copy the array again and again (someone correct me if I’ve misunderstood this). It would not be the most effective way, I think. Perhaps if you can keep the array out of the UDO and just iterate it would be less complicated.
Sorry, where can i find the documentation for the „Poly" opcode? it’s also not in the list of opcode when i do „csound -z“ in the terminal.
Belongs this to a package?
You can use poly for that, your opcode would be reduced to:
Oh cool, I didn’t know about poly. This seems like something that would be really helpful to have in the core. (though presumably that has been considered by people who know a lot more about the situation than me…)
Au contraire, code living outside of the core distribution can be updated more often and can be used with older versions of csound, as long as the plugin API does not change. These external plugins, for example, are compatible with csound back to 6.16. All fixes are available via risset as soon as the CI task finishes compilation, without needing to compile csound yourself.