Hacker News new | ask | show | jobs
by avodonosov 1619 days ago
What javascript apis they use to create sites like that? To play instrument notes at different pitches, and to play notes simultaneously?
2 comments

Looks like it’s using Tone.js[0] with a sample library called ‘Salamander Grand Piano V3’[1].

Tone.js is great. I’m using it to convert MIDI files and sync visuals on a jazz piano tutorial website I’m building[2].

[0] https://tonejs.github.io

[1] https://archive.org/details/SalamanderGrandPianoV3

[2] https://www.jazzkeys.fyi

Without looking too deeply into it, I assume it's MIDI and using some JS implementation of a MIDI engine / soundfont to play.

https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_AP...