What is MIME type "audio/x-ircam"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

The MIME type audio/x-ircam designates a specialized audio format used to store digital sound data produced in research and sound synthesis environments.
It is linked to the Berkeley/IRCAM/Carl Sound Format and typically appears with the file extension SF.

Key features and use cases:

This format ensures that audio programs correctly recognize and process complex sound data.
For more details on related audio research, see IRCAM.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: audio/x-ircam    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="audio/x-ircam">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/x-ircam');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

Which file extension is associated with audio/x-ircam?

The primary file extension for this MIME type is .sf. This extension denotes the Berkeley/IRCAM/Carl Sound Format, widely used in academic sound synthesis and research environments. You can learn more about this extension at sf.

How do I open an audio/x-ircam file on my computer?

You need specialized audio editing software to open these files, as standard media players often do not support them. Tools like Audacity, SoX (Sound eXchange), or academic software like CSound can import and play the audio/x-ircam format.

Does the HTML5 <audio> tag support audio/x-ircam?

No, modern web browsers (Chrome, Firefox, Safari) do not natively support audio/x-ircam via the HTML5 <audio> element. To play this audio on the web, you should convert the file to a standard format like MP3 (audio/mpeg) or WAV (audio/wav) before embedding it.

How do I configure Apache to serve .sf files correctly?

You can ensure Apache serves .sf files with the correct MIME type by modifying your .htaccess file or main configuration. Add the following line: AddType audio/x-ircam .sf. This prevents the browser from misinterpreting the file as binary data or text.

What is the Nginx configuration for audio/x-ircam?

For Nginx, you must update the mime.types file or add a specific rule within your server block. Use the directive: types { audio/x-ircam sf; }. After saving the changes, reload Nginx to apply the new content type mapping.

How can I convert an audio/x-ircam file to MP3 or WAV?

The command-line tool FFmpeg is highly effective for converting this format. For example, to convert to WAV, use the command: ffmpeg -i input.sf output.wav. This makes the audio compatible with standard media players and web browsers.

What does the 'x-' prefix mean in audio/x-ircam?

The x- prefix indicates that this MIME type is a non-standard or experimental extension that was not originally registered with the IANA. While common in older audio research software, it is considered a private subtype compared to standard types like audio/basic.

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.