Study a lightweight audio feature pipeline.
Build a visual teaching tool for exploring how audio features respond to generated signals.
Build with HushA minimal audio research baseline that distinguishes synthetic voice-like signals from noise and silence.
Hush compares five simple audio features to distinguish generated harmonic, voice-like signals from generated noise or near-silence. It demonstrates a local audio pipeline. It is not a trained human-speech detector.
Research v0.1.0 · A statistical classifier, not a generative foundation model.
Decode audio to normalized mono PCM and resample to 8 kHz before extracting features.
Compute log RMS, zero-crossing rate, crest factor, amplitude modulation, and lag correlation.
Score the features against each class’s learned means and variances.
Actual model inference, inside your browser.
No input is uploaded.
Using a generated 0.3-second sample.
Scores are relative model outputs, not calibrated confidence.
Starting points for prototypes.
Validate the model for your use case.
Build a visual teaching tool for exploring how audio features respond to generated signals.
Build with HushPrototype the layout of an activity indicator using synthetic inputs.
Build with HushCompare harmonic signals, noise, and silence before choosing a real speech-detection model.
Build with HushProcedurally generated 0.3-second signals at 8 kHz. Voice-like examples combine harmonics, amplitude modulation, and light noise. Other examples alternate noise and near-silence. There are no microphones, speakers, recorded voices, or speech datasets in training.
Each class uses generator seeds 1000–1119 for 120 training examples and 9000–9029 for 30 held-out examples. The generator is the same for both splits; only its random seeds change.
No third-party model weights, external datasets, or user inputs were used to train this version. Training records are kept private. We publish weights, model cards, aggregate results, and the limitations of each release.
Gaussian naïve Bayes · five engineered audio features
Each release includes its model card, measured artifact size, and SHA-256 checksum. Training data and working checkpoints stay private.
Use the local workspace packages today. These packages have not been published to npm or Maven Central.
Run from the repository root, then import the model from a workspace example.
bun install
bun run sdk:buildWith JDK 17+ and Gradle 8.10+, publish the modules to your local Maven repository.
gradle test
gradle publishToMavenLocalrepositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation("dev.embermote:hush:0.1.0")
}Kotlin/JVM tests pass. Android device validation, Swift, and native Core ML/LiteRT adapters are not available.
import { createModel } from '@embermote/hush';
import { audioFeatures } from '@embermote/core';
const model = createModel();
// Generated 0.3-second tone at 8 kHz.
const pcm = Float32Array.from({ length: 2400 },
(_, i) => 0.3 * Math.sin(2 * Math.PI * 180 * i / 8000));
const input = audioFeatures(pcm, 8000);
const result = model.predict(input);
console.log(result.label);
// Scores are not calibrated confidence.0b797537dcb4e3c016f6ebae2bc64898ccd727bb042b999c078b45ef702913c3Not as a validated speech detector. A perfect result on this synthetic test says nothing about actual conversations, music, microphones, or background noise.
Inference runs locally. The website and artifact download make ordinary network requests, but the demos do not upload your input. Bundled SDK inference does not need an inference server.
Hush stores a compact statistical representation for a narrow task. Its 341 B artifact is not equivalent to a neural model of a different size, and the file size is not its total runtime memory.
This is a research baseline. Independent evaluation, task-specific acceptance criteria, real-device measurements, and release packaging remain necessary before production use.
Inspect the pieces behind this model.