Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 426 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 426 Bytes

@imperez/simple-sound

Simple Sound Banner

Simple Sound is an ES6 javascript library to play audio files from the browser. For any examples you can see the html files in the examples directory.

Intall

npm i @perez-rich/sound

Usage

import { load } from '@perez-rich/sound';

const sound = await load('path/to/sound.mp3');
sound.play();