David Braun
David Braun
We could take some inspiration from how VSTs get the playhead context from the DAW including the tempo, time signature, etc. https://github.com/juce-framework/JUCE/blob/2f980209cc4091a4490bb1bafc5d530f16834e58/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp#L250 Maybe we could have a new faust libraries...
I traced it to a usage of `snprintf` https://github.com/libsndfile/libsndfile/blob/9349a566e298ef6d6bed6c275dc1f5502bb2e028/src/file_io.c#L130 and https://github.com/libsndfile/libsndfile/blob/9349a566e298ef6d6bed6c275dc1f5502bb2e028/src/file_io.c#L616 but I don't know how to "ignore" some other function's call to snprintf. Someone suggested making a "shim" for...
It might be best to check if the file exists and avoid calling `sf_open` https://github.com/grame-cncm/faust/blob/6ea29c8009273439232231185407ab676fe2e7dd/architecture/faust/gui/LibsndfileReader.h#L148
Thanks for this info and your repo. I'll leave the issue open until it's fixed. The online IDE works fine. It was hard to trace down where the bug is...
Hi, thanks for trying and reporting. My current understanding is that it's not a bug. That VST3 preset loading function is meant for `.vstpreset` files. I'll try to clarify that...
Hi, sorry for the delay. There are some improvements in 0.6.0 on pypi. This new version will throw errors if the preset is missing and hopefully also if it's invalid....
Pinging you because 0.6.2 now has `open_editor()`, `load_state(filepath: str)`, and `save_state(filepath: str)` for Plugin Processor. See `tests/test_plugins.py`
Wow nice job on that. I will tell my Max friends about it. I also appreciate your notes on graph traversal.
0.6.2 has a new way to open the UI, load, and save states of plugins. Can you give it a try? See `tests/test_plugins.py`
0.6.5 might fix this and hopefully you can still use any state files you've already created.