Skip to main content
How to get usable MIDI out of AudioPod’s audio-to-MIDI engine: give it clear, pitched parts, transcribe one instrument per track, and treat the result as a starting point you edit.

What it does

Upload a song or pass a link. AudioPod splits it into stems, transcribes each pitched stem you pick, and returns one MIDI file per stem, one merged multitrack MIDI file, and the separated stem audio.
  • Instruments: bass, vocals (the sung melody), piano and guitar. Bass, vocals and piano are on by default. Guitar is experimental and off by default.
  • Not transcribed: drums and percussion, and the “other” stem. A job with only those is refused.
  • Already split a track in Stem Splitter? Use Convert to MIDI on the finished job instead of starting over.

Start with clear audio

  • One instrument per stem gives the best result. Transcription is most accurate on a part that plays alone or clearly on top.
  • Use the cleanest copy you have. Heavy distortion, reverb and effects blur the notes.
  • A melody that is sung or played clearly transcribes better than a dense chord wash.
  • Tracks must be at least 6 seconds long.

What to expect

  • Each file is an editable starting point, not a finished score. Plan to clean up stray notes, fix note lengths and quantize to your grid.
  • Fast runs, ornaments, slides and bends come through approximately.
  • Bass is corrected for the octave automatically, so you don’t need to shift it yourself.
  • The tempo is detected for you and returned as detected_tempo_bpm. If you know the tempo, set tempo_bpm over the API so the MIDI lines up with your grid.

Over the API

POST /api/v1/midi/convert takes a file or a url, plus:
  • stems: a JSON list from bass, vocals, piano and guitar. Default ["bass", "vocals", "piano"].
  • options: a JSON object, all optional:
    • tempo_bpm (30 to 300): leave it out to detect the tempo.
    • onset_threshold (0.05 to 0.95, default 0.5): how sure a note start must be. Raise it if you get too many extra notes; lower it if quiet notes go missing.
    • frame_threshold (0.05 to 0.95, default 0.3): how sure a note must be to keep sounding. Raise it to cut smeared, overlong notes.
    • min_note_len_ms (10 to 2000, default 128): drops notes shorter than this. Raise it to remove tiny blips; lower it for fast passages.
    • engine: general (default), piano or vocal. The piano and vocal options are specialists for that one stem, on Creator and above; every other stem in the job stays on general.
To convert stems you already split, use POST /api/v1/midi/convert/from-stems/{stem_job_id}. Poll GET /api/v1/midi/status/{job_id}. A finished job returns midi_urls (one per stem), merged_midi_url and, for a standalone job, stem_urls. Any stem it could not transcribe is listed in skipped_stems or failed_stems. Change one threshold at a time and compare the results. Credits and plans: see audiopod.ai/pricing.