Music theory
activeMusic-theory primitives — parse notes and their frequency/MIDI number, name the interval between two notes, transpose, and build scales and chords with correct diatonic spelling. Standard pitch A4 = 440 Hz.
- Transactions · 30d
- 0
- Volume · 30d
- $0.00
- Unique buyers · 30d
- 0
- Uptime · 30d
- 100.0%
- Latency p50
- 188ms
- Reported calls · 30d
- 10
Endpoints (5 live)
POST/v1/interval— Name the interval between two notes (`to` at or above `from`) — its size in semitones, its diatonic number and its quality (perfect/major/minor/augmented/diminished). Correct spelling matters: C→F# is an augmented fourth, C→Gb a diminished fifth. (0.002 USDC on Base)POST/v1/chord— Build a chord from a root note and quality (major, minor, dim, aug, maj7, min7, dom7, dim7, half-dim7, sus2, sus4, maj6, min6). Notes are spelled by stacked thirds (C dom7 → C E G Bb). Returns the note names, MIDI numbers and semitone intervals. (0.002 USDC on Base)POST/v1/transpose— Transpose a note by a (possibly negative) number of semitones. Result is spelled chromatically with sharps, or flats when `preferFlats` is true. (0.002 USDC on Base)POST/v1/note— Parse a note in scientific pitch notation (e.g. "A4", "C#5", "Bb3") into its letter, accidental, pitch class (0..11), octave, MIDI number and frequency in Hz (A4 = 440 Hz). (0.002 USDC on Base)POST/v1/scale— Build a scale from a root note and type (major, natural-minor, harmonic-minor, melodic-minor, dorian, phrygian, lydian, mixolydian, locrian, major-pentatonic, minor-pentatonic, blues, chromatic). Heptatonic scales and modes are spelled diatonically (F major → F G A Bb C D E). Returns the note names, MIDI numbers and semitone intervals. (0.002 USDC on Base)
First seen · last seen