Published
Edited
Oct 9, 2022
Fork of Quick MIDI
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import { drawNote } from "@maddievision/note-colors"
Insert cell
WebAudioTinySynth = require("webaudio-tinysynth")
Insert cell
synth = new WebAudioTinySynth({ internalContext: false })
Insert cell
Insert cell
Insert cell
tempoToMs = tempo => Math.floor(60000000 / tempo);
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
sampleSequence = {
let events = [];
events.push([0, 0, [0x90, 0x3c, 0x7f]]);
events.push([48, 0, [0x90, 0x3c, 0]]);
const seq = [events];
return seq;
}
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