AudioBinary
audio/midi
MIDI
Reference for audio/midi, the MIME type for MIDI music data containing note and control information, not audio samples.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
Expected extensions: .mid, .midi, .kar
HTTP Content-Type Header
HTTP Header
Content-Type: audio/midiAssociated File Extensions
.mid.midi.kar
Quick Facts
| MIME Type | audio/midi |
| Category | Audio |
| Type | Binary |
| Extensions | .mid, .midi, .kar |
Common Usage
MIDI files contain musical note data, not recorded audio. They store note pitch, velocity, duration, tempo, and instrument assignments.
MIDI is used in music production, synthesizers, digital pianos, karaoke systems, and as a universal language for electronic musical instruments.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.mid" type="audio/midi">
<!-- Or for script/media elements -->
<script type="audio/midi" src="file.mid"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('audio/midi');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'audio/midi' });nginx
# nginx.conf — add to types block or use default
types {
audio/midi mid midi kar;
}
# Or set for a specific location
location /api/ {
default_type audio/midi;
}Related MIME Types
More Audio MIME Types
Other audio types in the Audio family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.