Audio to MIDI in Logic Pro: Turn Flex Pitch into MIDI
By Qianlong Guo · Updated
Logic Pro turns an audio recording into MIDI through Flex Pitch: open the region in the Audio Track Editor, switch on Flex Pitch, then choose Edit > Create MIDI Track from Flex Pitch Data. It works best on one voice or instrument playing one note at a time. For chords, piano or a full song, convert the file online and import the .mid into Logic.
Recording has chords, or it’s a voice memo that isn’t in a Logic project yet? Convert it here, check the notes on a piano roll, then drag the MIDI file into Logic.
How do you turn Flex Pitch into MIDI in Logic Pro?
These are the steps in Apple's Logic Pro user guide, “Create MIDI from audio using Flex Pitch”:
- Double-click the audio region in the Tracks area to open the Audio Track Editor.
- Click the Show/Hide Flex button in the Audio Track Editor menu bar.
- Choose Flex Pitch from the Flex Mode pop-up menu. Logic analyzes the audio and shows each detected note over the waveform.
- Fix what you can now: wrong pitches, missing notes and timing. Apple recommends correcting the audio before you convert.
- Choose Edit > Create MIDI Track from Flex Pitch Data in the Audio Track Editor menu bar.
- A new instrument track appears below the audio track, with one MIDI region for each audio region on the track. Choose a patch for it from the Library.
Play the new track together with the original recording to hear mistakes, then fix notes, velocity and timing in the Piano Roll Editor, or open the region in the Score Editor to see it as notation.
Why does Flex Pitch get chords and full songs wrong?
Flex Pitch follows one melodic line. Apple's guide says creating MIDI from audio “works best with monophonic material; chords or polyphonic material may lead to errors in interpretation.” On a piano part, a strummed guitar or a finished song you will get a single line that jumps between notes of the chords, or nothing useful.
| Recording | Flex Pitch to MIDI | Better option |
|---|---|---|
| Solo voice, whistling, a sax or bass line | Good: this is what it is made for | Flex Pitch, then fix notes in the Piano Roll |
| Piano, guitar chords, a pad | Poor: one line instead of the chords | A polyphonic converter, such as the piano to MIDI converter |
| A full song (MP3 from your library) | Poor: instruments mixed together | Split out one part with Stem Splitter, or convert the song online for a rough draft |
| Drums | Not useful: drums have no clear pitch | Program the drums, or use Logic’s drum tools |
For a full song, Logic's Stem Splitter (on Macs with Apple silicon) can separate vocals, bass, guitar, piano and other parts first. Running Flex Pitch on the vocal or bass stem gives much cleaner MIDI than running it on the mix.
Want the chords, not the notes? Use chord analysis
Recent versions of Logic (the page appears in the user guide from Logic Pro 12) can analyze the chords in an audio region: drag the region to the Chord track, or Control-click it and choose Chords > Analyze Chords. That gives you chord symbols for the song, not a MIDI part, but it is often what you need to play along or to write your own part over it.
Flex Pitch shows every note as C0. What went wrong?
That was a known bug. Apple support says Logic Pro 10.7.5 and 10.7.6 on macOS Ventura can assign audio analyzed with Flex Pitch to C0. Update Logic Pro, open the region in the Audio Track Editor, choose Flex Pitch again, then choose Edit > Analyze Audio for Flex Editing so the notes are detected anew.
How do you import a converted MIDI file into Logic Pro?
Convert the recording with the audio to MIDI converter, or the piano or voice converter, and download the .mid file. Then, as Apple's guide to Standard MIDI files describes:
- Into your project: drag the file from the Finder into the Tracks area, where you release it (rounded to the nearest bar), or choose File > Import > MIDI File to place it at the playhead.
- As a new project: choose File > Open and select the file. Logic creates a software instrument track for each MIDI track and loads the file's tempo.
Our MIDI files are one track at 120 BPM, with the exact timing of the recording and no pitch bends. Set the project to 120 BPM to line the notes up with the original audio, or quantize them in the Piano Roll to work at another tempo.
More free MIDI tools
Upload a song or recording as an MP3 and download its notes as an editable MIDI file.
Convert MP3 to MIDI →WAV, M4A, FLAC, OGG and the sound of MP4 or MOV videos, turned into MIDI notes.
Convert audio to MIDI →Lossless WAV and FLAC recordings and DAW stems, for the cleanest notes.
Convert WAV to MIDI →Upload an MP4 or MOV video and get the notes in its sound track as MIDI.
Convert MP4 to MIDI →Solo piano recordings to MIDI, with chords and both hands as separate notes.
Convert piano audio to MIDI →Sing, hum or whistle a melody into your microphone and get it back as MIDI.
Convert your voice to MIDI →Open a .mid file and hear it on a piano roll in your browser — nothing is uploaded.
Play a MIDI file online →See the notes, tracks, instruments, tempo and key of a .mid file on a piano roll — nothing is uploaded.
View a MIDI file online →Play a .mid file with real instruments and drums and save it as an MP3 — in your browser.
Convert MIDI to MP3 →Render a .mid file to a lossless WAV for your DAW or a video, without uploading it.
Convert MIDI to WAV →Turn a .mid file into a score you can read, print as a PDF or edit as MusicXML.
Convert MIDI to sheet music →
Frequently asked questions
Can Logic Pro convert a whole song or a piano recording to MIDI?
Not well with Flex Pitch, which follows one line at a time; Apple says chords and polyphonic material may be misread. Use a polyphonic converter for piano and chords, and for a full song separate the part you want first.
Is the Flex Pitch command missing from my Edit menu?
Use the Edit menu in the Audio Track Editor’s own menu bar, not the main Logic menu, and switch on Flex with Flex Pitch as the mode first. The command works on audio tracks only.
Why does my converted MIDI sound robotic in Logic?
Converted notes keep the timing of the recording but have plain velocities and no expression. Adjust velocities in the Piano Roll, add some swing or humanize after quantizing, and pick a patch that suits the part.
Is the online converter free?
Yes. Without an account you can convert up to 10 files a day and download 1 MIDI file a week, with files up to 5 minutes. Signing in with Google, also free, gives 3 downloads a week. Pro ($7.99/month) adds unlimited downloads and files up to 30 minutes; a download pack is $1.49 for one file or $4.99 for ten.