The Web Audio API as a Standardized Interface Beyond Web Browsers - EA Esthétique, musicologie, danse et création musicale Accéder directement au contenu
Article Dans Une Revue Journal of the Audio Engineering Society Année : 2023

The Web Audio API as a Standardized Interface Beyond Web Browsers

Résumé

In this paper, the authors present two related libraries, web-audio-api-rs and node-web-audio-api, that provide a solution for using the Web Audio API outside the Web browsers. The first project is a low-level implementation of the Web Audio API written in the Rust language, and the second provides bindings of the core Rust library for the Node.js platform. The authors' approach here is to consider Web standards and specifications as tools for defining standardized APIs across different environments and languages, which they believe could benefit the audio community in a more general manner. Although such a proposition presents some portability limitations due to the differences between languages, the authors think it nevertheless opens up new possibilities in sharing documentation, resources, and components across a wide range of environments, platforms, and users. The paper first describes the general design and implementation of the authors' libraries. Then, it presents some benchmarks of these libraries against state-of-the-art implementation from Web browsers, and the performance improvements that have been made over the last year. Finally, it discusses the current known limitations of these libraries and proposes some directions for future work. The two projects are open-source, reasonably feature-complete, and ready to use in production applications.
Fichier principal
Vignette du fichier
2023-JAES - The Web Audio API as Standardized Interface Beyond Web Browsers.pdf (1.31 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
licence : CC BY - Paternité

Dates et versions

hal-04352384 , version 1 (19-12-2023)

Licence

Paternité

Identifiants

Citer

Benjamin Matuszewski, Otto Rottier. The Web Audio API as a Standardized Interface Beyond Web Browsers. Journal of the Audio Engineering Society, 2023, 71 (11), pp.790-801. ⟨10.17743/jaes.2022.0114⟩. ⟨hal-04352384⟩
36 Consultations
68 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More