Player is a web audio player developed by Droplab for creating websites with interactive audio.
pnpm install @droplab/player
import { Audio } from '@droplab/player';
const sound = new Audio('/sound.mp3');
sound.volume = .5;
await sound; // await loading the sound
sound.play()
Made with 💛
Published under MIT License.