MIDI to Note Name Converter
Convert integer MIDI 0–127 to complete scientific note name under explicit enharmonic preference (middle C=C4); unlike octave-only lookup, names and accidentals are included.
Description
MIDI pitch numbers identify sounding semitones without a unique enharmonic spelling.
MIDI pitch numbers identify sounding semitones without a unique enharmonic spelling. A display preference selects one fixed naming table.1
Enter integer MIDI 0–127 and exact sharp/flat preference. Return full scientific name and pitch class using C4=60.
When to use MIDI to Note Name Converter
Use MIDI to Note Name Converter when you need to evaluate the supplied records under the calculation and evidence rules below. The result is a canonical display spelling, not recovered score spelling or frequency. No instrument transposition is applied.
Enter the written notes, explicit grouping, pitch observations or supported chord tokens requested. Keep scientific octaves, accidentals and caller evidence consistent.
How to use MIDI to Note Name Converter and understand its results
- Enter the written notes, explicit grouping, pitch observations or supported chord tokens requested. Keep scientific octaves, accidentals and caller evidence consistent.
- Enter midiNote, accidentalPreference using the field table and calculation rules, then run the tool.
- Read scientificNoteName, pitchClass. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| midiNote | Midi note | number | Required |
| accidentalPreference | Accidental preference | string | Required |
Enter integer MIDI 0–127 and exact sharp/flat preference. Return full scientific name and pitch class using C4=60.
class=MIDI mod12; octave=floor(MIDI/12)−1 Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| scientificNoteName | Scientific note name | string |
| pitchClass | Pitch class | number |
{
"input": {
"midiNote": 61,
"accidentalPreference": "sharp"
},
"output": {
"scientificNoteName": "C#4",
"pitchClass": 1
}
} Limitations and assumptions
The result is a canonical display spelling, not recovered score spelling or frequency. No instrument transposition is applied.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Extremely large text inputs are rejected. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.
Alternative or Complementary methods
Use Note Name to MIDI Converter: Scientific pitch notation combines letter, accidental and octave. Accidentals can cross the written octave boundary while sounding as one MIDI note. For a complementary task, use Enharmonic Equivalent Lookup: Enharmonic spellings share a sounding MIDI pitch while differing in letter, accidental or written octave. Enumeration needs explicit spelling bounds.
References
-
MIDI to Note Name Converter — tool.io
Similar or alternative tools
- Note Name to MIDI Converter
Scientific pitch notation combines letter, accidental and octave. Accidentals can cross the written octave boundary while sounding as one MIDI note.
- Enharmonic Equivalent Lookup
Enharmonic spellings share a sounding MIDI pitch while differing in letter, accidental or written octave. Enumeration needs explicit spelling bounds.