Chord finder

Play or type some notes to get the chord name, or type a chord symbol to get its notes.

C31357C5
Black keys
Labels
Try:
Cmaj7
C major seventh · major
Possible names:
Notes
C4 E4 G4 B4
Chord notes
C E G B
Intervals
1P 3M 5P 7M
Formula
1 3 5 7
Most important
3 7 1 5
Also written
CΔ, Cma7, CM7, CMaj7, C^7
Inside it:
Extensions:
Scales that fit: major, bebop, lydian, ionian pentatonic, lydian pentatonic, augmented, double harmonic lydian, augmented heptatonic, harmonic major, double harmonic major, lydian #9, purvi raga and 5 more

The code

import { Chord } from "tonal";Chord.detect(["C4", "E4", "G4", "B4"]);// => ["Cmaj7", "Emb6/C"]const chord = Chord.get("Cmaj7");chord.name; // => "C major seventh"chord.intervals; // => ["1P", "3M", "5P", "7M"]chord.family; // => "major"Chord.formula("Cmaj7"); // => ["1", "3", "5", "7"]Chord.degreesByImportance("Cmaj7"); // => ["3", "7", "1", "5"]Chord.degreeOf("Cmaj7", "C4"); // => "1"