Host and Plugins : Parameter Automation Without Crossing the Audio Thread Barrier - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2022

Host and Plugins : Parameter Automation Without Crossing the Audio Thread Barrier

Résumé

WebAudio Modules 2.0 (aka WAM) is a standard for developing interoperable host and plugins that can be written using different development approaches (JavaScript, build systems, TypeScript, FAUST, Csound, front-end frameworks, etc.). The WAM standard has been designed with high performance host-plugin communication in mind when both the host and plugins are running in the audio thread. This is the case when the host is written as an Audio Worklet (AW) and when plugins are also AW based. We have developed for the WAM standard an example of such a host: a very simple DAW using Audio Worklets to manage the audio buffers for each track. In a typical way, each track is associated to a chain of plugins, to bring for example real time effects on the signal. This DAW is an interesting example to study for developers who would like to write this type of program: not only does it show how to manage audio buffers with sample accuracy (in order to have very precise loops), but it also shows how, thanks to the tools offered by the WAM standard, you can automate a large number of plugin parameters at the sample rate in a very efficient way (using Shared Array Buffers and Ring Buffers), much more than what is possible with the management of the parameters offered by the WebAudio API. Licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0). Attribution: owner/author(s).
Fichier principal
Vignette du fichier
WAC_2022_paper_26 (3).pdf (254.91 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03812916 , version 1 (13-10-2022)

Identifiants

  • HAL Id : hal-03812916 , version 1

Citer

Dylan Batisse, Antoine Vidal-Mazui, Jean-Philippe Carlens, Antoine Cousson, Michel Buffa. Host and Plugins : Parameter Automation Without Crossing the Audio Thread Barrier. WAC 2022 - Web Audio Conference 2022, Jul 2022, Cannes, France. ⟨hal-03812916⟩
42 Consultations
30 Téléchargements

Partager

Gmail Facebook X LinkedIn More