Absolut dummy has questions about JuceVst example!

Discussion about: tracktion.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Ok,

I'm must come out of the closet and accept that I'm a total moron. It's a complete hell since I'm very ambitious in writting a GUI for the algorithm that I have already written. I've decided to go with Juce since it looks nice and have never looked at the VstGui package - so this tells a little about the stage I'm at.

Now, looking at the DemoJuceFilter (similar to again in the vst sdk) I cannot find head or tail. So, if you want to drag me out of this shit storm I'm in please post some constructive replies that may help me reach my goal.

In the VST project I see 3 .cpp files that I want to understand the content of (JuceVstMain,juce_AudioFilerBase,DemoJuceFilter). In the JuceVSTWrapper class the function/class "filter" is adressed, but I cannot seem to find any instance with the name "filter" in the project files so where is it declared? - my biggest concern for now.

Next, I don't understand what the AudioFilterBase class does and what is "owner" used for?

This is just some of the questions that I have for the time being (guess they are trivial for routined coders), there are lots of other questions but maybe they will be answered partly if the questions presented can find an answer. I'm really missing some block diagrams for the proeject and one that describes how the Juce components interact?

Thanks for reading this thread
Thomas

Post

AudioFilterBase is intended to be a generic plugin class (for AU, VST, RTAS etc)
JuceVstMain (containing JuceVSTWrapper class) is where the above "becomes" a VST (only VST is implemented at moment)
DemoJuceFilter is the demo plug.

So DemoJuceFilter is a AudioFilterBase. JuceVSTWrapper has a AudioFilterBase.

"output" is passed in from the host, as a float**. It gets converted to a JUCE AudioSampleBuffer then passed to the "filter" (in this case DemoJuceFilter) which is created by the static createPluginFilter() method (in juce_CreateFilter.h) in this line from JuceVstMain.

JuceVSTWrapper* const wrapper = new JuceVSTWrapper (audioMaster, createPluginFilter());

I'm sure that was as clear as mud!

check the forum if you havent already http://www.adbe.org/juceforum/index.php
.................................
"Hell is other People" J.P.Sartre
.................................

Post Reply

Return to “Tracktion”