iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Classes | Macros
IPlugFaust.h File Reference
#include "IPlugConstants.h"
#include <atomic>
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <vector>
#include "faust/dsp/dsp.h"
#include "faust/dsp/poly-dsp.h"
#include "faust/gui/UI.h"
#include "faust/gui/meta.h"
#include "faust/gui/MetaDataUI.h"
#include "faust/gui/MidiUI.h"
#include "faust/midi/iplug2-midi.h"
#include "IPlugAPIBase.h"
#include "IPlugParameter.h"
#include "IPlugTimer.h"

Go to the source code of this file.

Classes

struct  FaustUIItem
 A node in the description of a Faust DSP's user interface, as declared by its buildUserInterface() method. More...
 
class  IPlugFaust
 IPlugFaust is the base class for hosting a Faust DSP inside an iPlug2 plug-in. More...
 

Macros

#define FAUSTFLOAT   double
 
#define FAUST_SHARE_PATH   ""
 Default search path for the Faust standard libraries (stdfaust.lib etc.), used by the interpreter backend. More...
 
#define FAUST_UI_INTERVAL   30
 Interval in milliseconds at which bargraph (meter) values are sent to the editor. More...
 

Detailed Description

IPlugFaust is the base class for hosting a Faust DSP inside an iPlug2 plug-in.

It maps the Faust DSP's widgets to IPlug parameters, routes MIDI to the DSP (including polyphony via the "[nvoices:N]" option), sends bargraph values to the editor and keeps a description of the Faust UI that UI builders can use.

There are two implementations which share this interface:

Definition in file IPlugFaust.h.

Macro Definition Documentation

◆ FAUST_SHARE_PATH

#define FAUST_SHARE_PATH   ""

Default search path for the Faust standard libraries (stdfaust.lib etc.), used by the interpreter backend.

The iPlug2 CMake Faust module defines this to the share/faust folder of the Faust installation it finds.

Definition at line 54 of file IPlugFaust.h.

◆ FAUST_UI_INTERVAL

#define FAUST_UI_INTERVAL   30

Interval in milliseconds at which bargraph (meter) values are sent to the editor.

Definition at line 59 of file IPlugFaust.h.

◆ FAUSTFLOAT

#define FAUSTFLOAT   double

Definition at line 25 of file IPlugFaust.h.