Whoosh

Filtered noise sweeps past with an adjustable sense of weight.

Copy-owned sound · Transitions and movement · one-shot. Source catalog/recipes/whoosh/recipe.ts.

Measured outputPlay to measure this sound

Control position · Size 50%

Whoosh: ready

Audio: idle

Take this sound.

Current parameters and seed. Mixer settings are separate.

import { createAudio } from "audiobits";
import { whoosh } from "./sounds/recipes/whoosh/recipe";

const audio = createAudio();
const sound = audio.sound(whoosh);

// Bind directly to a button click; surface a failed start and allow retry.
export async function play() {
  await audio.start();
  sound.play({ parameters: {"size":0.5}, seed: 42 });
}
Production lifecycle