@ondas/tiny-piano
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

TinyPiano

A self-container mono-sample piano

npm version npm version

The main characteristic of this instrument is that it doesn't need any asset loading in order to work. The single sample it uses is self-contained withing the code.

Doesn't sound good, but is a fast and cheap way to get something playing:

import TinyPiano from "@ondas/tiny-piano";

const piano = TinyPiano(new AudioContext());
piano.start(60);

Install

npm i @ondas/tiny-piano

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @ondas/tiny-piano

      Weekly Downloads

      0

      Version

      1.0.1

      License

      MIT

      Unpacked Size

      76.8 kB

      Total Files

      7

      Last publish

      Collaborators

      • danigb