Audio to MIDI in Logic Pro: Turn Flex Pitch into MIDI

By · 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.

Convert audio to MIDI online →

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”:

  1. Double-click the audio region in the Tracks area to open the Audio Track Editor.
  2. Click the Show/Hide Flex button in the Audio Track Editor menu bar.
  3. Choose Flex Pitch from the Flex Mode pop-up menu. Logic analyzes the audio and shows each detected note over the waveform.
  4. Fix what you can now: wrong pitches, missing notes and timing. Apple recommends correcting the audio before you convert.
  5. Choose Edit > Create MIDI Track from Flex Pitch Data in the Audio Track Editor menu bar.
  6. 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.

RecordingFlex Pitch to MIDIBetter option
Solo voice, whistling, a sax or bass lineGood: this is what it is made forFlex Pitch, then fix notes in the Piano Roll
Piano, guitar chords, a padPoor: one line instead of the chordsA polyphonic converter, such as the piano to MIDI converter
A full song (MP3 from your library)Poor: instruments mixed togetherSplit out one part with Stem Splitter, or convert the song online for a rough draft
DrumsNot useful: drums have no clear pitchProgram 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

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.