MakeItMidi

← Back to the Voice to MIDI converter

Can voice be converted to notes, not just a MIDI file?

Yes. When you convert a sung recording on this site, the pitch model does not stop at writing a .mid file. Internally it maps every detected pitch to a MIDI note number, then translates that number into a readable note name like C4 or F♯5 using a twelve-tone lookup table. The .mid file stores the numbers; the note names are what those numbers mean.

A sung waveform on the left flowing through a pitch detection stage into two parallel outputs: a .mid file icon labelled with MIDI numbers (60, 64, 67) and a note-name list reading C4, E4, G4 with timing bars.

What the conversion actually produces

The pipeline on this site runs in four stages. The browser reads your audio file into memory, decodes it into raw mono samples at 22,050 Hz through an OfflineAudioContext, runs pitch detection on those samples, and writes the results into a Standard MIDI File. The file is format 1, 480 ticks per quarter note, with one empty conductor track and one note track. No tempo event is written, so a player falls back to 120 BPM — that 120 is a structural default, not a measurement of your recording's speed.

Each detected note becomes a call to addNote with four values: a MIDI note number (the pitch), a start time in seconds, a duration in seconds, and a velocity derived from the audio amplitude at that moment. The MIDI note number is an integer from 0 to 127 where 60 is middle C. That number is what gets stored in the .mid file. The file does not contain the letters "C" or "D" anywhere — it contains the number 60 or 62.

After the file is written, the same pipeline also produces a note-name list. The code does this with a lookup array ["C","C♯","D","D♯","E","F","F♯","G","G♯","A","A♯","B"] and a simple formula: the note name is array[midiNumber % 12] and the octave is floor(midiNumber / 12) - 1. So MIDI 60 becomes C4, MIDI 64 becomes E4, and MIDI 67 becomes G4. The note names are a human-readable projection of the same numbers the file already contains.

Why "notes" and "MIDI file" are different things

When someone searches for "voice to notes," they often want something more immediate than a MIDI file. They want to know what notes were sung — the names, the order, the timing — without opening a DAW or a MIDI editor to inspect a piano roll. A .mid file is a container for performance data: it stores note-on and note-off events, velocities, and optional pitch-bend events, but it does not display itself. You need a player or editor to see what is inside.

Note names are the translation layer. The same MIDI number 60 can be displayed as C4, C5, or even B3 depending on the octave convention a program uses. The number is the ground truth; the name is an interpretation of the number. This site uses the convention where MIDI 60 = C4 (the most common convention in digital audio workstations), but some programs use C3 or even C5 for the same number. If your notes look one octave off in a different program, the number has not changed — the label has.

This matters for voice conversion specifically because the human voice does not come with note names attached. A sung C4 is a vibration at approximately 261.63 Hz. The pitch detector estimates that frequency from the audio, rounds it to the nearest semitone on the twelve-tone equal-tempered scale, and assigns MIDI 60. If the singer scooped into the note from below, the detector may catch the scoop as a separate, lower note — MIDI 59 (B3) — before settling on 60. The note-name list would then show B3 followed by C4, even though the singer intended one note.

Where note names go wrong

The same error patterns that affect the MIDI file affect the note names, because the names are derived from the same numbers. A scoop into the first note — the most common vocal habit — makes the first note name wrong by a semitone while the rest are correct. The fix is not to drag the note name in a list; it is to re-record the opening without the scoop, or to delete the spurious note in a MIDI editor and let the correct note start earlier.

Vibrato in a held note can split one note into several. If the pitch oscillation is wider than a quarter tone, the detector may alternate between two adjacent MIDI numbers — 60 and 61 — and the note-name list would show C4, C♯4, C4, C♯4 in rapid succession. That is not four notes; it is one note with vibrato, and the pitch-bend events in the file capture the movement more faithfully than the note list does.

Tremolo — a pulsation in volume, not pitch — can make the detector think the sound stopped and restarted, producing a sequence of short notes with the same name where one long note should be. The note list would look correct in pitch but wrong in quantity. This is the opposite problem from vibrato: vibrato inflates the count by splitting pitch, tremolo inflates the count by splitting time.

The 4:5:6 phantom-bass problem does not appear in monophonic voice conversion. That problem occurs when a chord's harmonics fool a polyphonic detector into reading a bass note two octaves below the actual lowest pitch. A single sung melody line has no chord to generate those harmonics, so this specific error does not apply. It would apply if you sang a chord into a polyphonic converter — but this site extracts one melody track, not chords.

What you actually get from this site

When you use the voice to MIDI converter, you get a .mid file that downloads to your device. That file contains MIDI note numbers, start times, durations, velocities, and optional pitch-bend events. The note names shown above are the site's interpretation of those numbers — they are derived in the same code that writes the file, using the same data, at the same moment.

The file does not embed the note names as text. Standard MIDI Files store numbers, not letter names. If you open the file in a piano-roll editor, you will see the numbers visualised as bars on a grid. If you open it in a notation program, the program will generate its own note names from the numbers, possibly using a different octave convention. The names you see in the converter's output and the names you see in your editor are both projections of the same underlying integers.

This is why the conversion is described as producing a MIDI file rather than producing notes. The file is the deliverable; the note names are a reading of what the file contains. If the note names are wrong, the file is wrong in the same way — and the fix is at the source, not at the label.

Short answers to related questions

Does the converter show note names while converting?

The converter processes your audio and produces a downloadable .mid file. The note names are computed in the same code that writes the file, using a twelve-tone lookup table and a MIDI-number-to-name formula.

Can I get a text list of note names from my recording?

The .mid file stores MIDI numbers, not text. Any MIDI editor can display the numbers as note names. The naming convention (which octave is "4") may differ between programs, but the underlying numbers are the same.

Why does my note name look one octave off in another program?

MIDI note 60 is middle C. This site calls it C4. Some programs call it C3 or C5. The number has not changed; only the label differs. Check your program's octave convention if notes appear shifted.

Can voice to notes identify chords or harmony?

This converter extracts a single melody track. It does not separate chords into individual notes. If you sing a chord, the detector picks the strongest pitch and writes that as the note. Use a polyphonic converter for chords — but expect different error patterns.

Open the Voice to MIDI converter

Related questions