Published
Edited
Dec 4, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
root = Tonal.Note.get(Tonal.Note.fromMidi(midiRoot))
Insert cell
range = Tonal.Scale.rangeOf(`${root.pc} pentatonic`);
Insert cell
scale = range(root.name, "C8")
Insert cell
Tonal = require('@tonaljs/tonal@4.6.0/dist/index.js')
Insert cell
Vex = require('https://bundle.run/vexflow@3.0.9')
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