API reference
Generated from the XML documentation of the published packages, so it always matches the code.
MusicTheory
AccidentalStyleenum- How accidentals are written: Bb / F# or B♭ / F♯.
Alterationenum- Accidentals, valued in semitones.
Beamingstatic class- Reads which events of a measure are beamed together.
Cadencerecord- A cadence arriving on the chord at Index.
CadenceDetectorstatic class- Finds authentic, plagal, half and deceptive cadences in a chord sequence, on HarmonicAnalyzer numerals.
CadenceTypeenum- The kind of a cadence.
Chordrecord- A chord: a root, a ChordType, optional extensions and an inversion.
ChordFinderstatic class- Provides methods for identifying chords from a set of notes.
ChordInversionenum- Represents the inversion of a chord.
ChordMatchrecord- Represents a single chord identification result.
ChordProgressionclass- Diatonic harmony in a key: the chords built by stacking the scale's thirds, Roman numerals and progressions written as numerals (ii7 - V7 - Imaj7).
ChordQualityenum- The family of a chord's triad.
ChordScalestatic class- Chord-scale matching: which scales on a chord's root contain every chord tone.
ChordSymbolrecord- A lead-sheet chord symbol such as Am7, D/F#, B♭Δ7 or C7b9#11: a root, a chord type, optional tensions and an optional bass that need not be a chord tone (C/Bb).
ChordSymbolParseOptionsrecord- Options for ChordSymbol.Parse.
ChordSymbolStylerecord- How a ChordSymbol is rendered.
ChordTransposerstatic class- String-in, string-out chord transposition for lyric sheets and tools.
ChordTypeenum- The chord types, each defined by its intervals above the root (see Chord.Intervals).
Directionenum- Represents the direction of a musical operation.
Durationrecord- Represents a musical duration (note or rest length), exact to the fraction.
DurationTypeenum- Represents the type of note duration.
Handenum- The hand a fingering is for.
HarmonicAnalyzerstatic class- Roman-numeral analysis of chords in a key, by pitch class (so a mis-spelled F##m in Eb is still iii).
HarmonicFunctionenum- How a chord relates to the key it is analysed in.
Intervalrecord- A spelled, directed interval: a quality, a number (1 = unison, 8 = octave, 9 and up are compound) and a direction on the staff.
IntervalQualityenum- The quality of an interval, ordered from narrowest to widest.
KeyCandidaterecord- A key proposed by KeyDetector.
KeyDetectorstatic class- Infers the key of a chord sequence with a cheap, explainable score over the 24 major/minor keys.
KeyModeenum- Represents the mode of a key (major or minor).
KeyRegionrecord- A stretch of chords in one key.
KeySignaturerecord- A key: a tonic and a mode, with its signature computed on the line of fifths.
Measurerecord- A time signature and the events of one voice inside one bar.
MinorSolfegeenum- Which note a minor key calls do in movable do.
ModulationDetectorstatic class- Splits a chord sequence into key regions by voting over sliding KeyDetector windows.
MotionTypeenum- Represents the type of motion between two voices.
NeoRiemannianstatic class- Neo-Riemannian P, L and R moves on spelled major and minor triads.
Noterecord- A spelled pitch: a letter, an accidental and an octave in scientific pitch notation (middle C is C4).
NoteNameenum- The seven note letters.
NoteNotationenum- Note-naming convention accepted by Note.Parse.
PianoFingeringstatic class- Standard piano fingerings for heptatonic scales and close-position triads.
PianoKeyrecord- A piano key in white-key units: white keys are 1 wide, black keys 0.6 and sit on the boundary.
PianoLayoutstatic class- Keyboard geometry for drawing a piano view.
PianoVoicerstatic class- Voices chord symbols as the shapes pianists play (drop 2/3, shell, rootless).
PianoVoicingStyleenum- Piano voicing shapes.
PitchClassSetrecord- An unordered set of pitch classes (0 to 11), the object of pitch-class set theory.
Rationalstruct- An exact fraction of Int64 parts, always in lowest terms with the sign on the numerator.
Reharmonizerstatic class- Common jazz reharmonisation moves, spelled by interval.
RhythmEventrecord- A chord, a single note or a rest with a duration.
RomanNumeralrecord- A Roman-numeral reading of one chord in a key.
Scalerecord- A scale on a tonic.
ScaleTypeenum- Scale types, each defined by its intervals above the tonic.
Solfegestatic class- Solfège note names: fixed do (Do is C) and movable do (the syllable names a scale degree of a key).
SolfegeStyleenum- How Solfege.FixedDo writes accidentals.
SuffixHandlingenum- What ChordTransposer does with the suffix text of a chord.
Swingstatic class- Swing timing: maps straight score positions to performed positions.
Temperamentclass- A tuning system: per-degree offsets (in cents) from 12-TET, applied relative to a tonic.
TempoChangerecord- A step tempo change at an exact score position.
TempoMaprecord- An immutable list of step tempo changes, converting score positions (in whole notes) to seconds and back.
TimeSignaturerecord- Represents a musical time signature (meter).
TunedPitchrecord- A note plus a deviation in cents from its 12-TET pitch: a tuner reading or a microtonal pitch.
VoiceLeaderstatic class- Chooses piano voicings for a chord progression so that each one moves the least from the previous.
VoiceLeadingRulesstatic class- Common-practice part-writing checks.
VoiceLeadingViolationrecord- Represents a voice leading violation.
VoiceLeadingViolationTypeenum- Represents the type of voice leading violation.
MusicTheory.Guitar
Barrerecord- An index-finger barre across a range of strings.
BarreShaperecord- A barre bar from BarreShape.X1 to BarreShape.X2 at height BarreShape.Y.
ChordDiagramLayoutrecord- Framework-agnostic geometry for a chord diagram: strings are vertical lines, frets horizontal; (0, 0) is the top-left of the grid, the nut (or top fret line) is at y = 0, and markers sit half a fret above it.
DiagramOptionsrecord- Diagram options.
FingerDotrecord- A fretted note.
Fretboardrecord- A tuning and a fret range: names every fret and finds the positions of a note, scale or chord.
FretPositionrecord- One sounding position on a Fretboard.
GuitarVoicingrecord- A playable guitar voicing of a chord.
GuitarVoicingProviderclass- Voicings for every ChordType: curated open shapes, movable E/A/D-form shapes and a fretboard search, merged, de-duplicated and ranked by GuitarVoicing.Difficulty.
IGuitarVoicingProviderinterface- Supplies guitar voicings for a chord.
Linerecord- A line segment.
MarkerKindenum- Open or muted marker kind.
Pointrecord- A point.
StringMarkerrecord- An open/muted marker above the nut.
Tuningrecord- A fretted-instrument tuning: the open-string notes, lowest string first.
VoicingDescriberstatic class- Spoken names and accessible labels for chords and voicings.
VoicingOptionsrecord- Options for IGuitarVoicingProvider.GetVoicings.
VoicingSourceenum- Where a voicing comes from.
MusicTheory.Training
AnswerResultrecord- The outcome of checking an answer.
ChordDrillclass- A reproducible chord-quality drill: the same options and seed replay the same questions.
ChordDrillOptionsrecord- Which chord qualities a drill asks, and whether it inverts them.
Difficultyenum- How demanding a drill is.
IntervalDrillclass- A reproducible interval ear-training drill: the same options and seed replay the same questions.
IntervalDrillOptionsrecord- Which intervals a drill asks, and how.
MelodyDrillclass- A reproducible melodic-dictation drill: the same options and seed replay the same questions.
MelodyDrillOptionsrecord- How long a dictated melody is and how it moves.
ProgressionDrillclass- A reproducible Roman-numeral progression drill: the same options and seed replay the same questions.
ProgressionDrillOptionsrecord- Which degrees a progression drill draws from, and whether it uses minor keys.
Questionrecord- One drill question: what to play, what to choose from and the right answer.
ScaleDrillclass- A reproducible scale-identification drill: the same options and seed replay the same questions.
ScaleDrillOptionsrecord- Which scales a drill asks.
SeededRandomclass- A deterministic random source (SplitMix64).