D Other
Guillaume Piolat
Guillaume Piolat Fix #279
Latest commit fa8c06b Aug 9, 2018
Failed to load latest commit information.
au/dplug/au Fix build again Jul 25, 2018
carbon/derelict/carbon Implement alphanumeric keys for Carbon. Fix bug in UITextbox (now cal… Feb 19, 2018
client/dplug/client Fix #279 Aug 9, 2018
cocoa/derelict/cocoa Add alphanum support to Cocoa Feb 19, 2018
core/dplug/core BREAKING Remove a lot of deprecated symbols and deprecated modules. Jul 24, 2018
dsp/dplug/dsp Fix #280 and expose it with a unittest Jul 26, 2018
examples Update examples to fix macOS compatibility when using LDC 1.3+. Jul 15, 2018
flatwidgets/dplug/flatwidgets initialize depth and material maps in flatbackgroundgui Nov 18, 2017
graphics/dplug/graphics BREAKING Remove a lot of deprecated symbols and deprecated modules. Jul 24, 2018
gui/dplug/gui Enhance the EDIT feature in debug mode: you can move UIElement with r… May 9, 2018
host/dplug/host Fix endianness error while checking 'VstP' in VST hosting Jul 15, 2018
pbrwidgets/dplug/pbrwidgets Fix .fill() name now referencing a function in std.algorithm Jul 26, 2018
tools BREAKING Remove a lot of deprecated symbols and deprecated modules. Jul 24, 2018
vst/dplug/vst Fix build Jul 25, 2018
window/dplug/window Fix #281, clicking on a Cocoa windows resets accumulating mouse moves Jul 26, 2018
x11/derelict/x11 Restore files again Nov 27, 2017
.gitignore Fix warning in auval output with AU Feb 18, 2018
.travis.yml BREAKING Jul 16, 2018
README.md Trying to fix dplug-build for Linux Jul 19, 2018
dub.json Deprecate dplug.dsp.noise and dplug.dsp.wavetable Jul 24, 2018
logo.svg Add logo Oct 3, 2015
plugin-schema.json Fix schema to allow JSON "comments" Mar 31, 2018
secrets-for-ci.tar.enc Updated encrypted archive with correctly encoded file (on linux) Jul 6, 2018
test-all.sh Merge the rest of dplug:derelict-nogc into dplug:core, now that it's … Oct 27, 2016



Dplug Build Status Dub version Dplug Discord server

Dplug is a library for creating audio plug-ins as simply as possible.

Come talk with us on the D Language Discord to learn more.

Auto-generated documentation...

IMPORTANT To distribute VST2 plug-ins be sure to sign a VST2 Licence Agreement with Steinberg before October 2018.

Current features

  • Creating VST 2.4 plug-ins for Windows, macOS, and Linux, for 32-bit and 64-bit
  • Creating Audio Unit v2 plug-ins for Mac OS X, 32-bit and 64-bit
  • Creating AAX Native plug-ins for Windows and Mac OS X, 64-bit only
  • Comes with basic music DSP algorithms
  • Comes with a number of tools to make plug-in authoring faster (bundling, color correction, regression tests, performance tests)
  • Dplug is using (optional) rendering to keep installers small
  • See the list of supported hosts...

Products made with Dplug

Release notes

Keep up with major changes here: Release Notes



  • Does Dplug support the creation of synthesizer plug-ins?

Yes. See simple-mono-synth example.

  • Am I forced to use the PBR rendering system?

No. You can make plug-ins with Dplug without using PBR. How it works is that the physical channel is just filled with 0. Doing that requires a set of custom widgets, which you can find in dplug:flat-widgets.

  • What is the oldest supported Windows version?

Windows Vista. Windows XP isn't officially supported by D compilers.

  • What is the oldest supported OS X version?

OS X 10.8+.

  • What D compiler can possibly be used?

    See .travis.yml for supported compilers. The latest DMD or LDC should do.

  • What D compilers are recommended?

    For releases it is highly recommended that you use LDC >= 1.8. When in development you can use DMD for faster compilation times.

  • Is Dplug stable?

Dplug now has excellent stability.

Dplug documents its breaking changes in the Changelog and issues major SemVer tags for breaking changes.

If you don't want breaking changes, you can pin Dplug to a major version in your dub.json.

But reality is complex, and bug fixes can be breaking too, (eg: "highpass FIR wasn't working"). In which case we have to make a judgment call as to whether it's a breaking fix, and whether the buggy feature was used.

Breaking commits, when they happen, are marked with BREAKING in the commit backlog. They are always discussed on Discord.

  • Will you add feature X?

You have to understand that Dplug is a part-time operation, from people who spend much more time working on and releasing plug-ins.

Dplug is there to support existing products and building companies around them, not to be beta software and make empty promises. Being stable and bug-free is much more important to us than implementing every possible feature.

Politically, it's very often than enhancements get postponed in favour of product development, so please be patient!

We're looking for ways to improve governance as more contributors have appeared with contrasted agendas.

  • Where do I start?

Be sure to read the Wiki in depth.

Comparison vs IPlug


  • No dispatcher-wide mutex lock. All locks are of a short duration, to avoid blocking the audio thread.
  • Plugin parameters implement the Observer pattern.
  • Float parameters can have user-defined mapping.
  • PBR-style rendering lets you have a good visual quality with less disk space.
  • No need to deal with resource compilers: D can import("filename.ext") them.
  • No need to maintain IDE project files, they are generated by DUB. eg: dub generate visuald or dub generate sublimetext
  • No need to make Info.plist files, they are generated by dplug-build.
  • No need to use Xcode whatsoever.
  • No need to use a macOS SDK.
  • Easy to install: DUB will download the library itself when building, a <= 3mb archive.
  • 10x less lines of code than the next larger alternative.


  • VST3 not yet implemented
  • No resizeable UI
  • No HDPI support
  • No modal windows
  • Latest IPlug has separated graphics from windowing


Dplug has different licenses depending on the sub-package you need. Please check individual source files for license information.

Plugin format wrapping

Plugin wrapping is inspired by the WDL library (best represented here: https://github.com/olilarkin/wdl-ol).

Some files falls under the Cockos WDL license.

Important contributors to WDL include:

VST SDK translation

This sub-package falls under the Steinberg VST license.

VST is a trademark of Steinberg Media Technologies GmbH. Please register the SDK via the 3rd party developer license on Steinberg site.

Before you make VST plugins with Dplug, you need to read and agree with the license for the VST3 SDK by Steinberg. If you don't agree with the VST SDK license, you can't make plugins with Dplug. Find the VST3 SDK there: http://www.steinberg.net/en/company/developers.html


Other source files fall under the Boost 1.0 license.

Contents of the tree


  • Abstract plugin client interface. Currently implemented for VST and AU.


  • Abstract plugin host interface. Basic support for VST hosting.


  • VST 2.4 plugin client implementation


  • Audio Unit v2 plugin client implementation


  • implements windowing for Win32, X11, Cocoa and Carbon


  • Needed for plugins that do have an UI
  • Toolkit includes common widgets (knob, slider, switch, logo, level, label...)
  • Physically Based Renderer for a fully procedural UI


  • Basic support for audio processing:
    • Real and Complex FFT, windowing functions (STFT with overlap and zero-phase windowing)
    • FIR, 1st order IIR filters and RBJ biquads
    • mipmapped wavetables for antialiased oscillators
    • noise generation including white/pink/demo noise
    • various kinds of smoothers and envelopes
    • delay-line and interpolation


  • Enables dynamic library loading without using the D runtime


  • Dynamic Carbon bindings


  • Dynamic Cocoa bindings


  • Static X11 bindings

dplug-aax (external repositery, see Wiki)

  • AAX Native and AAX AudioSuite plugin client implementation