-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Set $ definitions by API #119
Comments
Overall maybe we should revisit the parser and the bindings between the synth and parser, cf your discussions of 20-13-03 evening on using sfizz programmatically. In essence the synth acts on a set of regions and some "global" information like root directories for samples. There's nothing that limits this to sfz files. However this will require some addition and overhaul in the API. The user-facing API of the library will need to be densified and we should describe how we would like to do this so it's stable enough. |
With the new parser code in #130 this is now possible, I'll close this, thanks for the PR ! |
Not yet from sfizz API, is it ? |
Okay, I thought this support was mostly intended to be internal to e.g. support reading ARIA's banks, and not necessarily accessible from the API. Sorry for the overeager closing! |
Provide API that can set $-variables prior to entering the parser.
This can be useful in some scenarios:
_oncc$MY_KNOB_ID
)for instance, see https://github.com/sfzinstruments/karoryfer.shinyguitar/blob/026d25a62135aeb1900d0720ae3f87aa80f107f2/Shinyguitar.bank.xml#L5
The text was updated successfully, but these errors were encountered: