Should You Change Audio Sample Rate Before MIDI Conversion?
Usually, no. Keep the recording at its normal playback rate unless your converter or audio editor asks for a specific format. Proper resampling changes the number of samples while preserving duration and pitch; merely reinterpreting the same samples at a different rate changes playback speed and pitch.
Resampling is not the same as changing playback rate
Sample rate describes how many samples represent each second of audio. Audacity's manual distinguishes its Resample command, which changes sample count while keeping track length and pitch, from changing a track's sample-rate setting, which can make the same samples play faster or slower. If an export suddenly sounds higher, lower, shorter, or longer, check whether the editor resampled the audio or changed how its sample rate is interpreted.
When a converter handles sample rates itself
Some transcription tools accept several input rates and resample internally. Spotify's Basic Pitch README says its model accepts input audio at any sample rate and resamples it to 22,050 Hz before processing. That statement applies to Basic Pitch's model; it does not guarantee that every browser converter behaves the same way.
AudioNote MIDI decodes files through the current browser, converts the decoded channels to mono, and resamples the samples used by its pitch analysis to 11,025 Hz. This describes the current implementation, not a universal conversion rule. The browser must still be able to decode the codec inside the selected file.
A safe preparation check
- Keep an untouched copy of the recording.
- If your editor offers Resample, use it only when the target tool requires a rate. Listen to the export and confirm its duration and pitch remain the same.
- Avoid changing a track's sample-rate label as a shortcut. That can alter speed and pitch without creating a properly resampled signal.
- Convert a short excerpt first and compare the MIDI notes against the original recording.
Changing sample rate does not guarantee more accurate MIDI. Source clarity, overlapping notes, noise, codec decoding, and the converter's transcription method also matter. If the file already plays at the correct speed and your converter accepts it, there may be no reason to resample it.
Sources and scope
- Audacity Manual: Tracks Menu — Resample — resampling changes sample count while leaving length, speed, and pitch unchanged.
- Audacity Manual: Audio Track Dropdown Menu — distinguishes resampling from changing a track's sample-rate interpretation.
- Spotify: Basic Pitch README — documents its input-rate handling and resampling to 22,050 Hz.
- AudioNote MIDI public app.js — current implementation reference for decoding, mono conversion, and analysis resampling; implementation can change.
This guide explains sample-rate handling, not a promised accuracy improvement. Check the actual export and resulting MIDI in your own workflow.