-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can getParameterProperties be static? #35
Comments
Actually, never mind... It's easy enough to just instantiate a throw-away DSP object. |
Yeah, the code that generates c++ is in our internal codebase. But actually, not a bad idea for us to mark it static, and even constexpr probably, as I think it's all just compile-time constants in there. I'll take a look when I get a second! |
ah no - just had a look and noticed that actually it does some lambda capture in there, so can't be static, I'm afraid.. |
@julianstorer Yeah, I was suggesting moving the lambda capture to a separate struct. So you'd have something like:
Could also put a |
Yep, sensible request, I'll have a look when I get a moment! |
I'm doing some initial integration of SOUL into AudioKit via
soul generate --cpp
PR here if curious: AudioKit/AudioKit#2225
It would be helpful to be able to query as much information as possible without having to instantiate the DSP object. This would assist us in populating things on the Swift side.
To be specific, it seems
getParameterProperties
could be declaredstatic
except forapplyValue
. Suggest thatapplyValue
be moved to a separate array (perhaps returned bygetApplyValueFunctions
).I can't seem to find the code that generates
getParameterProperties
in this repo. Perhaps it's in the closed-source backend.Let me know if/how I can help 😀
The text was updated successfully, but these errors were encountered: