Power-up
A rising triangle and sine halo that gather energy together.
Copy-owned sound · Rewards and pickups · one-shot. Source catalog/recipes/power-up/recipe.ts.
Control position · Power intensity 50%
Power-up: ready
Audio: idle
Take this sound.
Current parameters and seed. Mixer settings are separate.
import { createAudio } from "audiobits";
import { powerUp } from "./sounds/recipes/power-up/recipe";
const audio = createAudio();
const sound = audio.sound(powerUp);
// Bind directly to a button click; surface a failed start and allow retry.
export async function play() {
await audio.start();
sound.play({ parameters: {"intensity":0.5}, seed: 42 });
}
Production lifecycle