Public
Edited
Oct 17, 2022
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Tone = require("tone")
Insert cell
synth = new Tone.Synth().toDestination()
Insert cell
{
if (buttonClicks > 0) {
synth.triggerAttackRelease(new Tone.Frequency(midiNote, "midi"), "8n");
}
return;
}
Insert cell
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