|
iPlug2 - C++ Audio Plug-in Framework
|
Go to the source code of this file.
Classes | |
| class | FaustGen |
| FaustGen compiles Faust code at runtime using the libfaust interpreter backend, so that the DSP can be edited while the plug-in is running. More... | |
Macros | |
| #define | FAUST_BLOCK(class, member, file, nVoices) iplug::FaustGen member {#class, file, nVoices} |
| #define | FAUST_RECOMPILE_INTERVAL 1000 |
FaustGen compiles Faust code at runtime using the libfaust interpreter backend, so that the DSP can be edited while the plug-in is running.
The interpreter is much slower than compiled code, so use it for development and switch to the statically compiled DSP (FAUST_COMPILED) for release builds. All methods except ProcessBlock() and ProcessMidiMsg() must be called on the main thread.
Include this file to use FAUST_BLOCK, which declares a Faust DSP member that is either:
| class | The name of the generated class (Faust's -cn argument) |
| member | The name of the member variable |
| file | The absolute path of the .dsp file (only used by FaustGen) |
| nVoices | The number of polyphonic voices, if the DSP doesn't declare "[nvoices:N]" in its options |
Definition in file IPlugFaustGen.h.
| #define FAUST_BLOCK | ( | class, | |
| member, | |||
| file, | |||
| nVoices | |||
| ) | iplug::FaustGen member {#class, file, nVoices} |
Definition at line 31 of file IPlugFaustGen.h.
| #define FAUST_RECOMPILE_INTERVAL 1000 |
Definition at line 44 of file IPlugFaustGen.h.