rorywalsh / CsoundUnity

GNU Lesser General Public License v2.1
70 stars 19 forks source link

Possible to use Csound Plugin Opcodes? #23

Closed Despair-Bear closed 3 years ago

Despair-Bear commented 3 years ago

This is more of a question than an issue, but is it possible to import the Csound Plugin Opcodes available here to use with the Csound Unity package or would this require some extensive modification to get working? I saw on a forum thread that you were considering including this in Csound 7.0 release but would like to use sooner if possible.

Thanks in advance :D

giovannibedetti commented 3 years ago

Try placing them inside the folder relative to the OS you're using inside the Csound Package. They should work, since we set the Csound Global Environment to that folder. Notice that the first log when you hit play is the path to that folder. We can think of a better method of adding external plugins in the future! Notice that if you update the package you will have to copy the libs there again, since the whole CsoundUnity folder could be overridden.

rorywalsh commented 3 years ago

If this doesn't work, try adding the opcode library in the CsOptions using the--opcode-lib=LIBNAME option.

Despair-Bear commented 3 years ago

This seems to have done the trick. Thank you!