Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

test_ladspa.cpp

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();
}

Generated at Sun Jan 18 20:51:22 2004 for Jezabel by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001