-
Notifications
You must be signed in to change notification settings - Fork 92
Add a more advanced host example #10
Comments
Seems to be a great start at an example! It will be important to find a way to make it platform agnostic though. The most obvious approach in that case might be to have it load an example plugin and use that. The hard part would be the bundling the plugins on OS X. But if we could use the bundler script from a build.rs it could be done. |
Thank you for your example, I have tested it on OS X, but it segfaults. The segfault happens on line:
|
It's quite possible that my example isn't doing stuff the right way(tm) but I did test it on Windows and Linux. Which VST did you try? I've tested Pianoteq 5 and sine_synth from the examples. edit: Some details of the error in Bobo1239/rust-vst-demo#1; I've tried the Spire VST on Windows and also get a segfault. Will try to investigate tomorrow. |
After tracing what https://github.com/teragonaudio/MrsWatson is doing, I think I know the problem:
Somebody would need to clone the struct definition to Rust but I'm not sure if handling timing should be in scope of this library. (I tend to side with no but we'd then need a way to delegate that request to the library user.) In case anybody else wants to further investigate:
|
Thank you, this is awesome. I have tried other vst and it works. My actual target vst is Virus TI. I will try it in next days. Lastly I want to thanks all people involved in this awesome project and I hope that I will be able to contribute in the future. Thank you and Merry christmas to you all! |
Merry xmas and happy holidays to you as well! Hope it works out. Feel free to join our telegram group if you'd like to get more involved. |
Host example that shows how to output to speakers real-time would be super helpful. |
It took me some time to get this to work. (And I'm not sure if that's the intended usage.) Adding a host example which utilizes
AudioBuffers
and(Midi)Event
s would make this aspect of the project more approachable.The text was updated successfully, but these errors were encountered: