A Rust Implementation of the Web Audio API - Archive ouverte HAL Access content directly
Conference Papers Year :

A Rust Implementation of the Web Audio API

Otto Rottier
  • Function : Author
  • PersonId : 1220030
Benjamin Matuszewski
  • Function : Author
  • PersonId : 1108738


In this paper we present a novel implementation of the Web Audio API specification written in Rust. While still in its early stage, the library already proposes a stabilized API and an important subset of the specification. We think this novel implementation has the potential to fill two complementary gaps. From a Web Audio API perspective, it proposes to decouple the API from the web (and web browsers), potentially opening new application areas and helping to widen its community of users. From a Rust perspective, it could provide an intermediary and extensible solution for audio applications that is not yet available in the ecosystem. This paper describes the general design of the library, expliciting and justifying the trade-offs that have been made to the specification in regards to the specificities of the Rust language. This general picture is completed with some examples of usage of the library and a discussion on its current performance. Additionally, a related JavaScript package that proposes Node.js bindings to the core Rust library is introduced. The project is open-source and released under the MIT License.
Fichier principal
Vignette du fichier
WAC_2022_a_rust_implementation_of_the_web_audio_api.pdf (258.06 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Licence : CC BY - Attribution

Dates and versions

hal-03957504 , version 1 (26-01-2023)



Otto Rottier, Benjamin Matuszewski. A Rust Implementation of the Web Audio API: Decoupling the Web Audio API from the web. Web Audio Conference (WAC), Université Côte d'Azur, Jul 2022, Cannes, France. ⟨10.5281/zenodo.6767674⟩. ⟨hal-03957504⟩
14 View
86 Download



Gmail Facebook Twitter LinkedIn More