web-audio-api 0.6.0

A Rust implementation of the Web Audio API, for use in non-browser contexts
Documentation

Rust Web Audio API

crates.io

A Rust implementation of the Web Audio API, for use in non-browser contexts

About the Web Audio API

MDN docs

The Web Audio API provides a powerful and versatile system for controlling audio on the Web, allowing developers to choose audio sources, add effects to audio, create audio visualizations, apply spatial effects (such as panning) and much more.

Usage

Docs

Planning

  • v0.*: getting the basics out, stabilize API
  • v1.*: feature completeness
  • v2.*: full spec compliance

Spec compliance

Current deviations

  • function names use snake_case
  • getters/setters instead of exposed attributes
  • deprecated functions are not implemented
  • some control-render communication is done with atomics instead of message passing
  • function that should return Promises are now blocking
  • no AudioWorklet functionality, users should implement the relevant traits instead
  • control messages and audio param changes may arrive out of order
  • ...