- buildLegalIO
LegalIO[] buildLegalIO()
Undocumented in source. Be warned that the author may not have intended to support it.
- buildParameters
Parameter[] buildParameters()
Undocumented in source. Be warned that the author may not have intended to support it.
- buildPluginInfo
PluginInfo buildPluginInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
- buildPresets
Preset[] buildPresets()
Undocumented in source. Be warned that the author may not have intended to support it.
- createGraphics
IGraphics createGraphics()
Undocumented in source. Be warned that the author may not have intended to support it.
- latencySamples
int latencySamples(double sampleRate)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadState
bool loadState(const(ubyte)[] chunk)
Important: See documentation in Client.loadState.
- maxFramesInProcess
int maxFramesInProcess()
Undocumented in source. Be warned that the author may not have intended to support it.
- processAudio
void processAudio(const(float*)[] inputs, float*[] outputs, int frames, TimeInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
- reset
void reset(double sampleRate, int maxFrames, int numInputs, int numOutputs)
Undocumented in source. Be warned that the author may not have intended to support it.
- saveState
void saveState(Vec!ubyte chunk)
Important: See documentation in Client.saveState.
Right now saving extra state is fraught with peril!
A small distortion plug-in named Distort!
It demonstrates: - parameters - I/O settings (mono or stereo) - basic presets - latency reporting - using biquads from dplug:dsp - custom UI widgets and custom DSP - drawing with dplug:canvas and canvasity - resizeable UI - basic DSP->UI feedback - use of dplug:pbr-widgets
To go further: - Examples: ClipIt and Template. - FAQ: https://dplug.org/tutorials - Inline Doc: https://dplug.dpldocs.info/dplug.html