Published
Edited
Apr 5, 2022
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
instrument = Soundfont.instrument(new AudioContext(), instrumentName)
Insert cell
{
playAgain;
notes.split(" ").map(instrument.play);
invalidation.then(() => instrument.stop());
}
Insert cell
Soundfont = require("https://bundle.run/soundfont-player@0.12.0")
Insert cell
instruments = fetch(
"https://raw.githubusercontent.com/danigb/soundfont-player/master/names/fluidR3.json"
).then((res) => res.json())
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more