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

  1. Enter the written notes, explicit grouping, pitch observations or supported chord tokens requested. Keep scientific octaves, accidentals and caller evidence consistent.
  2. Enter midiNote, accidentalPreference using the field table and calculation rules, then run the tool.
  3. Read scientificNoteName, pitchClass. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. 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 fieldMeaningValue type; see rules belowRequirement
midiNoteMidi notenumberRequired
accidentalPreferenceAccidental preferencestringRequired

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 fieldMeaningValue type
scientificNoteNameScientific note namestring
pitchClassPitch classnumber
json
{
  "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

  1. 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.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies