Public
Edited
Jun 6, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
evens = (_, index) => index % 2 == 0
Insert cell
Insert cell
Insert cell
Insert cell
Tonal.Key.majorKey("C")
Insert cell
Insert cell
Insert cell
result = {
const isInDiminished = Tonal.PcSet.isNoteIncludedIn(Tonal.Chord.get("Ddim7").notes);
const second = Tonal.Chord.get("G7");

return second.notes.filter(x => !isInDiminished(x));
}
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