← Back to the Voice to MIDI converter
What does a voice to MIDI generator actually generate?
A voice to MIDI generator writes note events — pitch, start time, and duration — from the sound it hears; here it turns singing or humming into a .mid file inside your browser, without inventing a melody, uploading the recording, or asking for an account.
What “generator” means on this page
The phrase voice to MIDI generator is easy to misread. In a music tool, “generator” can mean a program that writes music for you: chords, a bass line, a whole arrangement from a style choice. That is not what happens here. This page takes audio you already have, or a recording you make in the browser, and writes the pitches it can hear into a MIDI file.
Think of the output as a transcription, not a composition. If you sing three notes, the file contains the note events the model found for those three notes. It does not add a fourth note to make the phrase sound nicer, and it does not fill in harmony behind the melody. The word “generate” describes the file being produced, not music being invented.
That distinction matters when you search for a generator. If you want software to dream up a tune, this is the wrong kind of tool. If you want a sung line turned into notes you can move around in a DAW, this is the right shape of tool. The two jobs sound similar in a search box and are completely different once you open the file.
What reaches the generator
There are two ways in. You can choose an audio file from your device, or you can record from the microphone on the page. These are separate actions: recording captures sound, and converting turns that captured sound into notes. The page does not silently convert while it is recording.
Both routes meet the same browser pipeline. A file is read into memory, a recording is wrapped into the same kind of audio input, and the model receives decoded samples either way. There is no second engine for microphone input and no special path for uploaded files. What changes is only how the audio arrives.
The browser decides which file formats it can decode, not the site and not the make of your device. If a codec cannot be decoded, the page reports a failure instead of writing an empty MIDI file. Exporting the recording to a common audio format is the fix; changing the filename extension is not.
Everything runs on your device. The recording is not sent to a server, there is no account to create, and nothing is stored for later. The first conversion can take longer because the browser needs to load the model bundle; after that, the same page keeps working in the same tab.
What the generated file contains
Output is Standard MIDI File format 1 at 480 ticks per quarter note: one empty conductor track plus one note track. No tempo event is written, so a player falls back to 120 BPM. That 120 BPM is a playback fallback, not a measurement of the speed of your recording.
The note track holds pitch numbers, start times, and durations. It does not hold the waveform, the words you sang, or the tonal colour of your voice. If you need the original sound, keep the audio file; the MIDI file is a set of instructions for an instrument, not a copy of the performance.
The model is polyphonic, not a single-pitch follower: it writes down what it hears at each moment, so overlapping material can appear in the result. A solo vocal line usually comes back as one line because the source contains one line, not because the generator refuses chords. If you sing over a piano part, the piano can also be written into the notes. Record the voice alone when you want only the vocal line.
Continuous pitch is rounded to the nearest semitone. Pitch-bend events may be written for movement inside a note, but the note number still lands on a semitone. That is why a smooth glide can become a short staircase of notes rather than one clean event. The rounded note is a limitation of writing continuous audio into a discrete note grid.
The file is also not separated into stems. The model does not know which sound came from which instrument, so a full mix is not returned as a clean vocal track plus a clean accompaniment track. The downloaded filename follows the source filename, and the download is a plain .mid you can import into a DAW or notation program.
Why a generated line comes out wrong
A scoop into the first note is the classic case. The beginning slides up to the target pitch, and the detector quantises that slide onto the wrong semitone; the notes after it are right because the voice has settled. If only the first note is wrong and the rest are correct, the fix is usually to sing the take again with a clean attack, not to drag one note sideways in the editor.
Vibrato and tremolo look similar in a waveform but break detection in opposite ways. Vibrato moves pitch around the target note, so one held sound can split into alternating note numbers. Tremolo moves volume while pitch stays put, so level dips can look like the sound stopped and restarted. A steadier pitch helps the first case; a steadier level helps the second.
A note that appears too high can come from a strong harmonic rather than the fundamental. Closed-mouth humming and vowel changes both reshape the spectrum, so the detector may lock onto a different part of the sound. Comparing a second take with a more open vowel is often faster than repairing every note by hand.
No parameter in this page repairs a bad source recording. If the audio is noisy, clipped, or crowded, the file will reflect that. The honest workflow is to listen to the result, decide whether the wrong notes come from the source or from the semitone grid, and only then choose between re-recording and editing.
Short answers to related questions
Does a voice to MIDI generator write chords?
It can write simultaneous notes when those notes are in the audio. The model is polyphonic, but a lone voice contains a single pitch at a time, so a clean solo vocal normally gives one line.
Is this an AI music generator?
No. It transcribes detected pitch and timing into a MIDI file. It does not compose harmony, choose an instrument, or continue a melody beyond what was sung.
Does my voice get uploaded?
No. Decoding, inference, and MIDI writing happen in the browser. There is no account and no server-side copy of the recording.
Why does the MIDI open at 120 BPM?
The file writes no tempo event, so the player falls back to 120 BPM. The original recording's speed is not measured or stored as tempo.
Open the Voice to MIDI converter