Power-up
Rewards and pickups · one-shot
A rising triangle and sine halo that gather energy together.
Power-up: ready
Take this sound.
Current parameters and seed. Mixer settings are separate.
import { createAudio } from "audiobits";
import { powerUp } from "audiobits/recipes";
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