Log in
Log in

or
Learning
Comment

MIDI for Dummies

Difference and Relations between MIDI and Audio

It's not easy for beginners to understand the differences between audio and MIDI since both seem to be useful to make music. But understanding this crucial difference is precisely what distinguishes the incurable neophyte from the promising beginner.

From audio files…

While etymologically the word refers to anything you can hear (and record too), the word “audio” commonly means digital audio data.

But what is a digital audio file? It’s just a file with sound that has been digitized by converters the same way you can digitize pictures with a scanner.

Audio File

You probably know several image file formats like GIF, JPG, PNG, TIFF, or BMP. So you won’t be surprised to learn that there are also different audio file formats: WAV, AIFF, MP3, M4a, OGG, and many more. And even if they don’t do it the same way, all these formats are used to store digitized sound. Double-click such a file in your computer and the latter will decode the digital data to convert it back into audible sound.

Like digital pictures and movies that have different resolutions, audio files can also have more or less definition. This will affect their size, and a high-resolution audio file will be bigger than a low-resolution one.

Now that you have an idea of what is an audio file and what it is made for, let’s focus on MIDI (an enigmatic acronym that means Musical Interface for Digital Instruments — conceded, it explains nothing).

… to MIDI file

Unlike audio files, a MIDI file is not the result of sound digitization. So you will never be able to record the sound of your voice into such a file because that’s not its purpose. However, MIDI and audio help you make music all the same. So what are the differences?

MIDI Files

Let’s use analogy to try to understand what is a MIDI file and where are the differences with an audio file. To a graphic designer, we could say that MIDI is to audio as vector graphics are to bitmaps. To a confectioner, we would explain that MIDI is to audio as a recipe is to a cake. To a couple that’s been together for 25 years, we would say that MIDI is to audio as a blueprint is to their dream house.

For a more musical analogy, we could say that MIDI files are to audio files the same as the score of Vivaldi’s Four Seasons is to the CD of Vivaldi’s Four Seasons recorded by the London Philharmonic.

That is to say, unlike audio files, MIDI files include no sound at all but rather a series of commands that can only be understood by instruments supporting MIDI and which they use to play the right sound at the right time. The MIDI file itself doesn’t produce any sound. The sound is generated by the MIDI instrument according to the commands included in the MIDI file.

Have you ever seen those mechanical pianos or barrel organs that play on their own thanks to punched cards? The punched card is the direct forefather of the MIDI file. Depending on the position of the holes, the piano or the organ plays particular notes at a given time and over a given duration. And while the combination of the card and the instrument generates music, the card cannot produce any music by itself: it’s just a punched sheet of cardboard. The same applies to a MIDI file: it is only a set of computer commands to control a hardware or software instrument. It provides the instrument all relevant information about which note to play, when to play it and how it ought to be played. Should it be loud or not, with which sound, left or right in the stereo field, etc.

MIDI instruments

By now you have probably already understood that MIDI is a sort of descriptive language* that allows MIDI instruments to communicate with each other. This language is part of a communication standard for electronic devices with its own interfaces, cables, etc. That’s why you can record notes in a MIDI sequencer with a MIDI keyboard and the sequencer will use the MIDI protocol to ensure that a MIDI sampler or synthesizer plays those notes correctly.

But — you’ll say — if the goal of MIDI is to generate sound, why don’t we record everything directly as audio data?

Well, because MIDI data is much smaller and easier to edit than audio data, which is bigger and less versatile. Besides the size argument, which is of interest in some applications (for a long time cell phone ring tones were MIDI files because cell phones didn’t have enough storage space for audio files), the main advantage of MIDI is that it’s very easily editable. Imagine you record a piano player with audio files. You’ll certainly get a very authentic take, but you won’t be able to change the playing speed of the musician, nor to transpose the pitch of the instrument, nor replace the original sound with bagpipes. You won’t be able to edit wrong notes or rhythm problems either. The good news is MIDI gives you all these possibilities by means of a sequencer. Just like a word processor allows you to edit the font family of a text and replace a word by another as often as you want without altering the quality of the final document. And trust me, the quality you can get from a MIDI file can be very good if you read the MIDI file with a high-quality MIDI instrument.

Both on Mac OS X and Windows, the sound you get when you double-click a MIDI file is pretty bad. However, the MIDI file itself is not to blame but rather the poor quality of the sound generator used by your player. If you read the same MIDI file with high-quality MIDI instruments (be they hardware or software), you’ll get very authentic results… Here you have some examples made with MIDI files and high-quality virtual instruments:

https://www.synful.com/Sounds/Synful_Plays_Beethoven_Quartet.mp3

Stunning, isn’t it?*

MIDI Edit

Besides playing back notes, MIDI is used for many other applications like, for instance, mixing automation (varying level and pan settings of an instrument, changing an effect setting, muting an effect, etc.) or to trigger lighting systems on stage…

To sum it up, although you can record music without ever using MIDI, which was the case before its introduction in the 80's, MIDI is a very powerful tool that makes many things much easier once you know how to use it. And it is not as complicated as it seems.

* These examples are audio bounces from MIDI files. To be fully honest, their overall sound quality is also due to the quality of the mix.

 

Would you like to comment this article?

Log in
Become a member
cookies
We are using cookies!

Yes, Audiofanzine is using cookies. Since the last thing that we want is disturbing your diet with too much fat or too much sugar, you'll be glad to learn that we made them ourselves with fresh, organic and fair ingredients, and with a perfect nutritional balance. What this means is that the data we store in them is used to enhance your use of our website as well as improve your user experience on our pages and show you personalised ads (learn more). To configure your cookie preferences, click here.

We did not wait for a law to make us respect our members and visitors' privacy. The cookies that we use are only meant to improve your experience on our website.

Our cookies
Cookies not subject to consent
These are cookies that guarantee the proper functioning of Audiofanzine and allow its optimization. The website cannot function properly without these cookies. Example: cookies that help you stay logged in from page to page or that help customizing your usage of the website (dark mode or filters).
Audience analysis (Google Analytics)
We are using Google Analytics in order to better understand the use that our visitors make of our website in an attempt to improve it.
Advertising (Google Ads)
This information allows us to show you personalized advertisements thanks to which Audiofanzine is financed. By unchecking this box you will still have advertisements but they may be less interesting :) We are using Google Ad Manager to display part of our ads, or tools integrated to our own CMS for the rest. We are likely to display advertisements from our own platform, from Google Advertising Products or from Adform.
Marketing (Meta Pixel)

On our websites, we use the Meta Pixel. The Meta Pixel is a remarketing pixel implemented on our websites that allows us to target you directly via the Meta Network by serving ads to visitors of our websites when they visit the social networks Facebook and Instagram. The meta pixel are code snippets which are able to identify your browser type via the browser ID - the individual fingerprint of your browser - and to recognise that you have visited our websites and what exactly you have looked at on our websites. When you visit our websites, the pixel establishes a direct connection to Meta's servers. Meta is able to identify you by your browser ID, as this is linked to other data about you stored by Meta on your Facebook or Instagram user account. Meta then delivers individualised ads from us on Facebook or on Instagram that are tailored to your needs.

We ourselves are not in a position to identify you personally via the meta pixel, as apart from your browser ID no other data is stored with us via the pixel.

For more information about the Meta Pixel, the details of data processing via this service and Meta's privacy policy, please visit Meta Privacy Policy - How Meta collects and uses user data for Facebook and Meta Privacy Policy - How Meta collects and uses user data for Instagram.

Meta Platforms Ireland Ltd. is a subsidiary of Meta Platforms, Inc. based in the USA. It cannot be ruled out that your data collected by Facebook will also be transmitted to the USA.


We did not wait for a law to make us respect our members and visitors' privacy. The cookies that we use are only meant to improve your experience on our website.

Our cookies
Cookies not subject to consent

These are cookies that guarantee the proper functioning of Audiofanzine. The website cannot function properly without these cookies. Examples: cookies that help you stay logged in from page to page or that help customizing your usage of the website (dark mode or filters).

Audience analysis (Google Analytics)

We are using Google Analytics in order to better understand the use that our visitors make of our website in an attempt to improve it. When this parameter is activated, no personal information is sent to Google and the IP addresses are anonymized.

Advertising (Google Ads)

This information allows us to show you personalized advertisements thanks to which Audiofanzine is financed. By unchecking this box you will still have advertisements but they may be less interesting :) We are using Google Ad Manager to display part of our ads, or tools integrated to our own CMS for the rest. We are likely to display advertisements from our own platform, from Google Advertising Products or from Adform.

Marketing (Meta Pixel)

On our websites, we use the Meta Pixel. The Meta Pixel is a remarketing pixel implemented on our websites that allows us to target you directly via the Meta Network by serving ads to visitors of our websites when they visit the social networks Facebook and Instagram. The meta pixel are code snippets which are able to identify your browser type via the browser ID - the individual fingerprint of your browser - and to recognise that you have visited our websites and what exactly you have looked at on our websites. When you visit our websites, the pixel establishes a direct connection to Meta's servers. Meta is able to identify you by your browser ID, as this is linked to other data about you stored by Meta on your Facebook or Instagram user account. Meta then delivers individualised ads from us on Facebook or on Instagram that are tailored to your needs.

We ourselves are not in a position to identify you personally via the meta pixel, as apart from your browser ID no other data is stored with us via the pixel.

For more information about the Meta Pixel, the details of data processing via this service and Meta's privacy policy, please visit Meta Privacy Policy - How Meta collects and uses user data for Facebook and Meta Privacy Policy - How Meta collects and uses user data for Instagram.

Meta Platforms Ireland Ltd. is a subsidiary of Meta Platforms, Inc. based in the USA. It cannot be ruled out that your data collected by Facebook will also be transmitted to the USA.


You can find more details on data protection in our privacy policy.
You can also find information about how Google uses personal data by following this link.