-
Notifications
You must be signed in to change notification settings - Fork 67
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
Preset support for non .fxp format #131
Comments
Thanks! I would like to do exactly what you've described, but I don't know how. I'm only able to interact with plugins via the VST API via JUCE, and there isn't a more general "load preset" function. There's only what I've already tried to implement ( |
After studying I agree as you said, the Take Vital as example, Vital supports
|
If you're lucky, the preset file is actually human-readable, like json or xml, and you would be able to parse it with Python and then call Also, DawDreamer's PluginProcessor's Maybe this means you can just call |
I've tried this on Linux and Vitalium (the FOSS version of Vital), and I mostly get a segfault. My first problem was that the plugin was running in a separate thread, and so calling
Was necessary before I initialized DawDreamer. Otherwise I got
After adding those lines I can open the UI with Strangely it did work once, and I managed to save a WAV file, but it's not worked since. |
@GeoSpark Thanks for the tip about libX11. That's something worth investigating. Does If you got audio the first time, it's probably because save_state hadn't been called yet? But then subsequently you were trying load_state, which is where errors/crashes seem to be happening. |
For those subscribed here, we now have two examples for multiprocessing synthesizers:
|
Hi @DBraun.
Thanks for this wonderful repo, it was truly a great tool for me to automate some workflows in my project!
I am recently working on using DawDreamer on Vital synthesizer. Overall for Vital most of the parts are compatible, only the preset loading part is not as
.vital
files are inherently JSON files instead of.fxp
.Reproducibility
The following code should run fine, including loading the synth, adding midi note, and setting parameters:
However loading preset does not work as it is not compatible:
I would like to ask if you would be open to the idea of supporting custom preset formats other than
.fxp
(such as.vital
files). My idea might be to have some factory pattern onloadPreset
, but I am not sure if this would be a feature of high demand.The text was updated successfully, but these errors were encountered: