UPDATE: Zenodo migration postponed to Oct 13 from 06:00-08:00 UTC. Read the announcement.

Conference paper Open Access

A Rust Implementation of the Web Audio API

Otto Rottier; Benjamin Matuszewski

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.

Files (264.2 kB)
Name Size
WAC_2022_paper_11 (2).pdf
md5:3aa276c5ad7758555ccc3dd86f8e74f5
264.2 kB Download
330
224
views
downloads
All versions This version
Views 330330
Downloads 224224
Data volume 59.2 MB59.2 MB
Unique views 290290
Unique downloads 205205

Share

Cite as