TinyPiano
A self-container mono-sample piano
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