-
Notifications
You must be signed in to change notification settings - Fork 8
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
Faust code exported to Windows32 VST always loads defaults when applied #3
Comments
Which "settings" are you speaking about ? |
The VST adjustments (gain sliders etc). |
How do you compile the Faust Windows32 VSTs ? |
I have compiled them using Faust Editor, FaustLive, and Faust Playground on different occasions. |
@agraef may have an idea. |
Maybe I should have said "Exported" instead of compiled... |
What makes this harder to test, is that the export compiler caches the files, and if the source doesn't change it sends you the previously exported file in the old name even if you have renamed the source! |
|
Thanks Stéphane. I have to say that Faust is a great way to test out DSP ideas and make functional code blocks that are also useful for things other than music: such as Amateur radio/CB, broadcasting and SDR applications. Being able to export code to other platforms makes it even more useful. Having VST export makes it very easy to use the processing routines in other sound applications, even by those not familiar with Faust. I'm very grateful for all the hard work by the Faust programmers. |
It is more than one project, but basically:
The best way to see the results is on my YouTube channel: |
Sorry folks, I'm still at LAC @ CCRMA and can't really take a look right now (flying back tomorrow). @DazDSP, I'd really need to know the architecture you're using (there are two for VST, Yan Michalevsky's vst and my own faustvst). I suspect that the one used in FL is Yan's, but I might be wrong about that. If you can send me the C++ source generated for the plugin then I should be able to figure out which one it is. Also, it would help to post the original Faust source (if available, otherwise please provide a minimal test example which exhibits the problem) so that I can try to reproduce the problem when I'm home. |
Here's a very simple test that displays the problem in Audacity:
The code performs level adjustment, and is preset to -30dB. |
Does this help any? |
It's clear from Steve's answer there that the problem mostly lies on Audacity's end: "VST Presets are often not supported". One suggestion: Cabbage VST2 plugins seem to work fine with Audacity presets-wise. (For some reason VST3 Cabbage output doesn't work at all in neither Audacity nor in Adobe Audition, so Cabbage VST3s output seems pretty broken right now). So if you're willing to add a shim of Cabbage for the sliders and can live with the routing though the Csound Faust opcodes that will solve you presets problem for now. Mkay, Audacity doesn't yet support VST3 audacity/audacity#2277 However Audition certainly does, so there's some extra issue with Cabbage VST3s not working in that one. From the Cabbage forum, their VST3s seem to work in Reaper though. |
Faust code exported to Windows32 VSTs (used in Audacity) ignore the settings and always reload the defaults before they are applied. VST settings work OK in Preview mode only. (Win7 64bit, Audacity 2.3.1) Other (non Faust) VSTs work correctly.
The text was updated successfully, but these errors were encountered: