This is a simple Jezabel application using a JezabelLADSPA widget. The widget loads the freeverb3 plugin from the Computer Music Toolkit.
#include <jezabelapplication.h>
#include <jezabelladspa.h>
#include <jezabelpanel.h>
int main( int argc, char **argv )
{
JezabelApplication a( argc, argv );
/* Make a control panel with presets */
JezabelPanel *panel = new JezabelPanel("test_LADSPA","current");
/* Make a JezabelLADSPA widget -- in this case a reverb from CMT */
JezabelWidget *foo =
new JezabelLADSPA("cmt","freeverb3","LADSPA",panel->mainArea());
/* Show the main window */
a.setMainWidget( panel );
a.setTool( foo->getTool() );
panel->show();
/* Run the GUI until exit */
return a.exec();
}
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001