Note Name to MIDI Converter
Parse exact scientific A–G pitch with optional double accidental and octave, resolving octave-crossing accidentals into integer MIDI 0–127; no frequency rounding or loose text parsing.
Description
Scientific pitch notation combines letter, accidental and octave.
Scientific pitch notation combines letter, accidental and octave. Accidentals can cross the written octave boundary while sounding as one MIDI note.1
Enter exact uppercase A–G with optional b/bb/#/##/x or Unicode sharp/flat and mandatory scientific octave. Normalize accidentals and validate integer sounding note 0–127; return MIDI, spelling and pitch class.
When to use Note Name to MIDI Converter
Use Note Name to MIDI Converter when you need to evaluate the supplied records under the calculation and evidence rules below. Middle C is C4=60. No loose text, frequency rounding, tuning or 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 Note Name to MIDI 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 scientificNote using the field table and calculation rules, then run the tool.
- Read integerMidiNote, normalizedInputSpelling, enharmonicPitchClass. 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 |
|---|---|---|---|
| scientificNote | Scientific note | string | Required |
Enter exact uppercase A–G with optional b/bb/#/##/x or Unicode sharp/flat and mandatory scientific octave. Normalize accidentals and validate integer sounding note 0–127; return MIDI, spelling and pitch class.
MIDI=12(octave+1)+naturalClass+accidental Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| integerMidiNote | Integer midi note | number |
| normalizedInputSpelling | Normalized input spelling | string |
| enharmonicPitchClass | Enharmonic pitch class | number |
{
"input": {
"scientificNote": "Cb4"
},
"output": {
"integerMidiNote": 59,
"normalizedInputSpelling": "Cb4",
"enharmonicPitchClass": 11
}
} Limitations and assumptions
Middle C is C4=60. No loose text, frequency rounding, tuning or 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 MIDI to Note Name Converter: MIDI pitch numbers identify sounding semitones without a unique enharmonic spelling. A display preference selects one fixed naming table. For a complementary task, use Double Sharp/Flat Notation Check: Double accidentals alter a written natural letter by two semitones. Normalizing notation differs from renaming to an enharmonic letter.
References
-
Note Name to MIDI Converter — tool.io
Similar or alternative tools
- MIDI to Note Name Converter
MIDI pitch numbers identify sounding semitones without a unique enharmonic spelling. A display preference selects one fixed naming table.
- Double Sharp/Flat Notation Check
Double accidentals alter a written natural letter by two semitones. Normalizing notation differs from renaming to an enharmonic letter.