The Difference between MIDI and Audio for Cakewalk Beginners
Last updated on 3/31/2016by Frank Basile
"Why can’t I record my favorite band’s CD into the computer, then view it in the Staff view?"
"After I connect MIDI cables from my keyboard to the computer and record into Cakewalk, why do I still need to have the keyboard connected to hear what I played? Isn’t what I recorded stored in Cakewalk?"
"Do I have to be a rocket scientist just to understand how to record and edit my songs?"
The answer to this last question is definitely "no", even though it sometimes seems like everyone else doing this stuff must have studied it for years. Once you understand the basics of how MIDI and digital audio work, the first two questions will become easy to answer yourself.
MIDI is a set of commands or instructions that different hardware devices and software programs use to communicate to each other. These MIDI commands are pretty much useless by themselves. They need to work with other devices to get the end result you’re looking for. When you press a key on a keyboard, that command is sent to the internal synthesizer patch you selected, and /or to the port on the back of the keyboard that says "MIDI Out". That command by itself makes no sound. Along with other information, it’s just the instruction that says, "play this note".
As an analogy, think of a player piano. There is a paper roll that you put into the piano containing the song that you want to hear the piano play. The roll has holes in it that correspond to the notes on the piano. As the roll turns the piano plays the notes. Like MIDI commands, the piano roll is pretty much useless by itself. The piano roll and the piano need each other to get the end result that you are looking for, which is to hear the song play.
A note you press on the keyboard (which is a MIDI command) travels down the MIDI cable into your computer. Once there, you can have Cakewalk record it, and send it out to a device (like your keyboard, or a sound card’s internal synthesizer) so you can hear it. Cakewalk will also allow you to view what you recorded so you can further improve or change different aspects of your performance.
Here are some of the different Views in Cakewalk that allow you to examine your MIDI information:
The Piano Roll view
The Staff view
The Event List view
Each of the views above display the same MIDI performance, but each have their own advantages when it comes time to edit or change any of the MIDI commands. The Cakewalk User’s Guide explains each of these views in detail.
There is no sound contained in the MIDI information itself, so you will always need some kind of device to play the MIDI commands back, so you can hear them. Some examples of these MIDI devices used to playback the MIDI commands would be a keyboard’s synthesizer, a sound card with a built in synthesizer, a stand alone MIDI module, and even a drum machine. Basically, if it has a MIDI input port, it can probably generate some kind of sound. But remember, every device you playback on may have different sounds, so your file may not always sound exactly the same when you play it on different devices. To put it simply, what you play is recorded, but what you hear is not.
------------------------------------
Audio, or maybe more appropriately for this discussion "sound", is produced when air molecules bump into each other, caused by a vibrating object. When this type of information gets stored in your computer it’s referred to as Digital Audio. Digital Audio is a numeric representation of sound, and is the way Cakewalk stores the sound.
A typical example of audio stored in Cakewalk would be the human voice. Your vocal chords vibrate, causing the air molecules to bump into each other. A microphone converts those air pressure changes into voltage changes, then your sound card on your computer changes the voltages to digital audio. When you record from a microphone, Cakewalk stores the information as Digital Audio, not MIDI.
Recording through the line inputs of your sound card will also allow you to record audio into Cakewalk. For example, you could connect a guitar, bass, mixer, CD player, or even the audio outputs of your keyboard’s synthesizer (not MIDI outputs) to the line inputs of your sound card. All will result in Cakewalk storing the information as Digital Audio.
Unlike MIDI, Digital Audio cannot be displayed as notation. For this reason, you cannot view recorded audio in Cakewalk's Staff view or Piano Roll view. Instead, here is the main view in Cakewalk that displays the audio information:
The Audio view
So you can see that Cakewalk offers different views for Audio and MIDI. Although there are certain commands that allow you to edit either audio or MIDI information in Cakewalk, it’simportant to understand the differences between them.
When recording into Cakewalk, you have basically two choices, to record MIDI or audio. They both have their advantages and disadvantages that you will learn as you gain more experience. But it’s important to remember that MIDI and Digital Audio information are different types of technologies, and require you to work with them in different ways.
------------------------------------
At this point you may already be able to answer the first two questions at the beginning of this document. Before reading the next paragraph, read the questions again and see if you can come up with an answer, based upon what you have learned so far.
The first question assumes that anything recorded into Cakewalk can be viewed in the Staff view. You now know that only MIDI data can be viewed in the Staff view, and that if you record from a CD player, Cakewalk will store the information as digital audio. So, it’s impossible to view the recording of the CD in the Staff view.
The second question assumes that when you record from your keyboard, what you play and what you hear are both recorded into Cakewalk. You’ve leaned now that when you send MIDI commands from your keyboard, only the performance that you played is recorded into Cakewalk.
For more information on this and other MIDI and Digital Audio topics, please check out the online version of The Desktop Music Handbook.
Good luck!