What is MIME type "audio/it"?
A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.
The MIME type audio/it is used for module music files. It was designed for tracker software like IT and others. This format stores music as instructions to play digital samples rather than a continuous audio stream.
Module music files combine patterned musical data with sample audio. They let the player recreate tunes by triggering pre-recorded sounds on multiple channels. This method uses less disk space while keeping complex sound arrangements.
- Main use: Playback of detailed digital compositions in tracker players.
- Additional uses: Composition and editing in music production software, game soundtracks, and demoscene productions.
- Technical fact: They store sequencing commands and digital samples, making them lightweight yet dynamic.
Other module formats use a similar concept. They include MOD, FAR, XM, STM, AMF, MED, WOW, DMF, S3M, 669, MTM, MT2, ULT, and OKT.
This MIME type remains important for legacy audio production and specialized music communities. For more details, you can explore module file format documentation and community guides.
Associated file extensions
.mod, .far, .xm, .it, .stm, .amf, .med, .wow, .dmf, .s3m, .669, .mtm, .mt2, .ult, .okt
Usage Examples
HTTP Header
When serving content with this MIME type, set the Content-Type header:
Content-Type: audio/it
HTML
In HTML, you can specify the MIME type in various elements:
<a href="file.dat" type="audio/it">Download file</a>
Server-side (Node.js)
Setting the Content-Type header in Node.js:
const http = require('http');
http.createServer((req, res) => {
res.setHeader('Content-Type', 'audio/it');
res.end('Content here');
}).listen(3000);
Associated file extensions
.mod, .far, .xm, .it, .stm, .amf, .med, .wow, .dmf, .s3m, .669, .mtm, .mt2, .ult, .okt
FAQs
How do I play audio/it files in a web browser?
Most modern web browsers do not natively support the audio/it MIME type via the standard <audio> tag. To play these files on a website, you typically need to use a JavaScript-based module player library (such as libopenmpt compiled to WebAssembly) that can decode tracker formats like .it and .xm in real-time.
What software is required to open .it and .mod files?
You need a dedicated module player or a media player with specific plugin support. Popular modern options include OpenMPT, XMPlay, and VLC Media Player. For music production, tracker software like Schism Tracker or MilkyTracker allows you to edit and compose files served as audio/it.
How do I configure Apache to serve .it files correctly?
To ensure browsers and download managers recognize the file type, add the MIME type definition to your .htaccess file or main configuration. Use the line: AddType audio/it .it. If you are serving other tracker formats, you might also include extensions like .xm or .s3m.
Why does the HTML5 audio tag fail to play my .it file?
The HTML5 <audio> element generally only supports stream-based formats like MP3, AAC, or OGG. Module files (like those with the extension .it) function differently by using sequenced instructions and samples, which standard browser media engines do not know how to decode without external scripts.
What is the difference between audio/it and audio/mpeg?
Files served as audio/mpeg (MP3) contain a continuous recorded waveform, while audio/it files contain musical notation patterns and short sound samples. This makes module files significantly smaller in file size and allows for dynamic looping and editing, but they require specialized software to render the audio.
Is audio/it the only MIME type for tracker music?
No, there is no single standardized IANA MIME type for all module files. While audio/it is used for Impulse Tracker files, you may also encounter audio/x-it, audio/x-mod, or audio/x-xm depending on the specific file extension (such as .mod or .s3m) and server configuration.
How do I fix Nginx sending .it files as text/plain?
If Nginx serves your music files as text, you need to update your mime.types file. Add the line audio/it it; inside the types block, or include it directly in your server block configuration to ensure the Content-Type header is set correctly for downloads.
General FAQ
What is a MIME type?
A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.
MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.
MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.
How do I find the MIME type for a file?
You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.
Why are multiple MIME types listed for one extension?
Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.