Open turian opened 2 years ago
Thanks for reporting this. I'm observing the same issue with Surge XT 1.1.1. I had previously confirmed that Surge works on Windows, probably with version 1.9. I will investigate what's going on.
One minor thing in your code is that load_state
is only meant to load binary objects created from save_state
. If you already have fxp files, you should use load_preset
. However, I tried this and it didn't lead to audio.
@DBraun Is there a list of VST / plugins that are known to work (or not work) on OSX or Linux?
I want to start playing with the code! <3
The most definitive list is what's listed in the tests because those get continuously tested.
I put some effort into https://github.com/DBraun/DawDreamer/wiki/Plugin-Compatibility but it's missing stuff. Hopefully what's described is correct though.
Related to #86
Commenting out enableAllBuses()
helps a bit with Surge. https://github.com/DBraun/DawDreamer/blob/bdc8947dc7aa99e141c0a081d4ba5bf0ccfd73b3/Source/PluginProcessor.cpp#L101
But I'm seeing that if a note is played in the first ~256 samples of a render, then it gets cut off early. The remaining notes play fine.
Commenting out
enableAllBuses()
helps a bit with Surge.
What is the effect of that?
Audio renders correctly but not if the MIDI note starts at sample < 257
@DBraun hmmm weird. Is that just for surge or all synths? Any idea why?
I guess this is something that should go in the test suite.
(BTW, for Surge, I can generate sounds using their Python API. So one test we could write is that you generate the same sound using the same preset and f0 and note on and duration. And then we make sure the two audio files have low mean-absolute-error.)
I fixed it, but I'm trying to get multiple things merged at once before the next release, so it may take another few days.
In Surge, there's an issue where I was sending it a MIDI CC message for clearing all notes, then I was playing a note, but then this section was entered, apparently a side-effect of the earlier MIDI CC message. Then this section got entered, and that turned off the note. The solution was to not send the MIDI CC message, but I think it's weird that the CC message has a side-effect that affects the note on that hasn't happened yet.
The other issue was related to buses.
Okay. Thank you @DBraun . I am excited about this project and eager to build on it and share back what I've done.
I tested Surge XT on Windows with DawDreamer 0.6.11 and the problem went away. Can you run your test again?
where do I report synths that actually work? I have just tested Diva and Repro on Linux and they successfully rendered several notes
@dimashenme Thanks for that! I updated here https://github.com/DBraun/DawDreamer/wiki/Plugin-Compatibility I'm thinking about shifting to some other doc for managing it...
@DBraun Perhaps just make github pages for the project and then people can submit PRs to add new synths that work
I'm trying to use
dawdreamer
to create a large-scale corpus of synth sounds and their parameters, for large-scale ML experiments.However, I cannot even load an open source VST3 (Surge synth) and generate a single sound :(
Here is a minimal example:
The file is empty
How can I generate sounds using dawdreamer?