iPlug 2: Desktop Plug-in Framework Meets Web Audio Modules

Oliver Larkin, Alex Harker, Jari Kleimola

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review


This paper introduces iPlug 2: a desktop C++ audio plug-in framework that has been extended and reworked in order to support Web Audio Modules, a new format for browser-based audio effects and instruments, using WebAssembly. iPlug 2 provides a complete solution and workflow for the development of cross-platform audio plug-ins and apps. It allows the same concise C++ code to be used to create desktop and web-based versions of a software musical instrument or audio effect, including audio signal processing and user interface elements. This new version of the framework has been updated to increase its flexibility so that alternative drawing APIs, plug-in APIs and platform APIs can be supported easily. We have added support for the distributed models used in recent audio plug-in formats, as well as new graphics capabilities. The codebase has also been substantially modernised. In this paper, we introduce the problems that iPlug 2 aims to address and discuss trends in modern plug-in APIs and existing solutions. We then present iPlug 2 and the work required to refactor a desktop plug-in framework to support the web platform. Several approaches to implementing graphical user interfaces are discussed as well as creating remote editors using web technologies. A real-world example of a WAM compiled with iPlug 2 is hosted at https://virtualcz.io, a new webbased version of a commercially available synthesizer plug-in.
Original languageEnglish
Title of host publication4th Web Audio Conference
Subtitle of host publicationWAC '18
PublisherTU Berlin
Number of pages6
Publication statusPublished - 19 Sep 2018
Event4th Web Audio Conference - Berlin, Germany
Duration: 19 Sep 201821 Sep 2018
Conference number: 4
https://webaudioconf.com/ (Link to Conference Website)

Publication series

NameProceedings of ... Web Audio Conference
ISSN (Print)2663-5844


Conference4th Web Audio Conference
Abbreviated titleWAC-2018
Internet address


Dive into the research topics of 'iPlug 2: Desktop Plug-in Framework Meets Web Audio Modules'. Together they form a unique fingerprint.

Cite this