mobx-music
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Mobx Music

Play Music with Mobx

CircleCI NPM BundlePhobia

Install

  yarn add mobx-music
  # Or 
  npm i mobx-music

Usage

const { instruments, playingNotes } = await getInstruments(["harmonica"]);
const instrument = instruments.get("harmonica");
instrument.play("A3", 500);
playingNotes.get("A3"); // true
setTimeout(() => {
  instrument.stop("A3");
}, 250);

Readme

Keywords

none

Package Sidebar

Install

npm i mobx-music

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

24.7 kB

Total Files

12

Last publish

Collaborators

  • rakannimer