Skip to main content

aria_web/
lib.rs

1//! Aria's dictation pipeline, callable from a browser page.
2//!
3//! JavaScript owns the microphone and the network; this owns the audio and
4//! the model. A page pushes 16 kHz mono frames in and takes a transcript out,
5//! and nothing it pushes leaves the machine.
6
7mod silence;
8
9#[cfg(target_family = "wasm")]
10mod dictation;
11
12#[cfg(target_family = "wasm")]
13pub use dictation::Dictation;