MEIKYUU_SOUND_KINDSconstant
THE SOUNDS, made in the browser: short tones from the Web Audio API, one for each thing that happens (a step, drawing back, a key, an arrow bumping, an arrow flying off, an unlock, a solve, a loss). There are no recordings, so there is nothing to fetch and nothing to credit. Nothing is made until the first sound is asked for, a browser with no audio, or one that has not been touched yet, is silent without an error, and a sound that comes too soon after the last of its kind is dropped.
Import it
import { MEIKYUU_SOUND_KINDS } from "@johnmorrisdotca/meikyuu/play";
Definition
const MEIKYUU_SOUND_KINDS: readonly ["step", "back", "key", "bump", "fly", "unlock", "solve", "lose", "tap", "stone"] = ["step", "back", "key", "bump", "fly", "unlock", "solve", "lose", "tap", "stone"] as const
Examples
import { MEIKYUU_SOUND_KINDS } from "@johnmorrisdotca/meikyuu/play";
console.log(MEIKYUU_SOUND_KINDS);[
'step', 'back',
'key', 'bump',
'fly', 'unlock',
'solve', 'lose',
'tap', 'stone'
]What it prints (run when this page was built)