Search found 7 matches

by jwatte
Tue Nov 24, 2020 1:09 am
Forum: VST 3 SDK
Topic: What does "sample-accurate bypass" mean?
Replies: 8
Views: 66

Re: What does "sample-accurate bypass" mean?

It would be great if there was one canonical place where the latest docs were collected, and all the other places (github, SDK install directory, etc) just linked there. I can tell that the same paragraph has gone through multiple iterations of updating, depending on where I find it when browsing ar...
by jwatte
Mon Nov 23, 2020 7:47 am
Forum: VST 3 SDK
Topic: What does "sample-accurate bypass" mean?
Replies: 8
Views: 66

Re: What does "sample-accurate bypass" mean?

The reason I started asking was that I had used fast/steep filter automation in FL Studio, and tried to do it in CuBase, and it didn't work too well, because the default Strip EQ doesn't respond fast enough at all -- seemed to be per-buffer. I also tried the Monark filter from Reaktor, but while it ...
by jwatte
Mon Nov 23, 2020 7:41 am
Forum: VST 3 SDK
Topic: Single Component description / support
Replies: 9
Views: 62

Re: Single Component description / support

The "magic" is the vtable. How a vtable works is worth learning for any C++ programmer, just as how a linker works. Virtual functions are not directly called by name, but instead called by function pointer -- your object has a pointer to a table of function pointers, and the index in that table is d...
by jwatte
Sun Nov 22, 2020 5:26 am
Forum: VST 3 SDK
Topic: Single Component description / support
Replies: 9
Views: 62

Re: Single Component description / support

Create a FIFO or socket or shared memory segment in the effect, make it available as a read-only parameter, send the handle of it from your plugin to the editor/s. (Use non-blocking send, and perhaps also let the GUI send occasional "I'm here" messages so the effect can stop trying to send when the ...
by jwatte
Sun Nov 22, 2020 5:22 am
Forum: VST 3 SDK
Topic: What does "sample-accurate bypass" mean?
Replies: 8
Views: 66

Re: What does "sample-accurate bypass" mean?

Yes, I was processing buffers -- the problem was actually that the validator did NOT provide buffers, whereas I was assuming they would be there. Now I skip processing if inputs or outputs are null, or if numsamples is 0, no matter whether bypassing or not. There are also at least two different inte...
by jwatte
Fri Nov 20, 2020 10:06 pm
Forum: VST 3 SDK
Topic: What does "sample-accurate bypass" mean?
Replies: 8
Views: 66

What does "sample-accurate bypass" mean?

The documentation for what I should actually do with my "bypass" parameter is hard to find. I first tried to implement it as "copy input to output unless the pointers are the same," but that actually crashes in the validator, which passes in nullptr for the buffers in the bypass test. So, now I just...
by jwatte
Fri Nov 20, 2020 8:53 pm
Forum: VST 3 SDK
Topic: "Old" VST3 SDK
Replies: 5
Views: 69

Re: "Old" VST3 SDK

It's generally a best practice to put your dependencies into the same source control as your "actual" project.
And by "best practice" I mean "something everyone learns after they get burned once," kind-of like "making backups" or, indeed, "using source control."