Using Unity Along with C++ Libraries

Hello, I’m a novice programmer who just picked up C++, and I’m planning to create an interactive music generation software using Unity. I’m thinking of using a library called CSound for computer music generation, and my question is this: is it possible to use Unity along with other libraries like CSound to create a project?

Sorry in advance for my naivete, haha.

Yes it’s possible, but you need Unity Pro

-You need to expose your C++ function in your plugins

-You need to build a library for each platform

Unity Plugins

Yes, technically speaking this is possible. You’d likely need to write a plugin to speak to the native C++ interface for the CSound libraries, but that is do-able (I can’t speak to CSound specifically). You may want to read up on how to write plugins to communicate with native Objective-C, C, and C++ code. Once you get comfortable with that, you can then apply your knowledge to integrating a Unity project with your CSound libraries.