Hacker News new | past | comments | ask | show | jobs | submit login

What javascript apis they use to create sites like that? To play instrument notes at different pitches, and to play notes simultaneously?



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...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: