@droplab/player

0.0.7 • Public • Published

Player

Player

WebAudio Player for the Web

Player is a web audio player developed by Droplab for creating websites with interactive audio.

Install

pnpm install @droplab/player

Quickstart

import { Audio } from '@droplab/player';

const sound = new Audio('/sound.mp3');
sound.volume = .5;
await sound; // await loading the sound
sound.play()

License

Made with 💛

Published under MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i @droplab/player

Weekly Downloads

0

Version

0.0.7

License

none

Unpacked Size

34 kB

Total Files

7

Last publish

Collaborators

  • droplab-miked