Lossless audio is ideal for transcription
Automatic transcription listens for the start of each note and the pattern of its overtones. Lossy codecs smear exactly these details, especially in quiet passages and high registers. FLAC keeps the full original signal, so it is one of the best inputs you can give a transcription model. Classical piano recordings, jazz solos and folk tunes bought or ripped as FLAC often transcribe noticeably cleaner than MP3 copies of the same performance.
The transcription runs with basic-pitch, a polyphonic model released by Spotify as open source. It works in your browser after a one-time download, and the FLAC file stays on your device.
Good candidates
- Solo piano pieces, from Bach inventions to pop piano covers.
- Unaccompanied guitar, violin, cello or flute.
- Folk songs with one voice and simple accompaniment, using melody-only mode for the tune.
- Your own practice recordings saved in FLAC.
Where transcription struggles
| Situation | What happens |
|---|---|
| Orchestra or big band | many notes found, but instruments mixed together and lots of errors |
| Heavy reverb, church acoustics | notes held too long, ghost notes from echoes |
| Distorted electric guitar | extra notes from distortion harmonics |
| Drums and percussion | ignored, because they have no defined pitch |
| Very fast passages | some notes merged or missed |
Hi-res files do not need special handling; 24-bit or 96 kHz FLAC is read directly, though it does not improve the result over CD quality.
From MIDI to sheet music
The MIDI file contains pitches, timing and velocities in a single part. The notes follow the performer's real timing, including rubato, so they do not line up with bar lines yet. In a notation program, set the tempo, quantize to a sensible value such as sixteenth notes, and clean up short stray notes. For a piano piece, you may also want to split the notes into left and right hands. To hear your edited MIDI as audio, use the MIDI converter or MIDI to FLAC. Recordings with a lot of hiss can be cleaned with noise reduction first.