Neutone / neutone_sdk

Join the community on Discord for more discussions around Neutone! https://discord.gg/VHSMzb8Wqp
GNU Lesser General Public License v2.1
465 stars 21 forks source link

[cm] Non-realtime wrapper #72

Open christhetree opened 7 months ago

christhetree commented 7 months ago

Defines a wrapper for non-realtime models making them compatible with the Neutone Gen plugin. Most of the logic is in the constructor and the forward pass.

I wanted to allow the user to define NeutoneParameters in whatever order they like and all in one place rather than splitting up text and numerical parameters, which is why the constructor is a little bit more complicated than it would be otherwise.

One benefit is that we no longer need to worry about dynamic memory allocations which makes the code a bit cleaner in some cases.