Posted on 1 Comment

Working With Audio and MIDI

Understanding the Difference Between Audio Signals and MIDI Messages in Music

When diving into the world of digital music production, one of the essential distinctions to understand is the difference between audio signals and MIDI messages. Both play crucial roles in creating and manipulating music, but they function in fundamentally different ways.

What are Audio Signals?

Audio signals are continuous waveforms that represent sound. These signals can be analog or digital. Analog audio signals are continuous and vary in amplitude and frequency to represent sound waves. In digital audio, these continuous signals are converted into discrete binary data that can be processed by computers.

Key characteristics of audio signals:

  • Amplitude: Represents the loudness of the sound.
  • Frequency: Represents the pitch of the sound.
  • Waveform: The shape of the wave, which determines the timbre or quality of the sound.

What are MIDI Messages?

MIDI (Musical Instrument Digital Interface) messages, on the other hand, are digital instructions that tell an electronic musical instrument or software what to play. MIDI does not contain actual audio data; instead, it sends information about how music (notes) should be performed.

Key components of MIDI messages:

  • Note On/Off: Indicates when a note should start and stop.
  • Velocity: Represents how hard a key is pressed, affecting the loudness and timbre.
  • Control Change: Adjusts parameters like volume, panning, modulation, and more.
  • Program Change: Switches between different instrument sounds or patches.

MIDI note message are often represented by a piano roll with notes and velocity bars. Each note is an instruction for a specific pitch, duration, and velocity, rather than an audio waveform.

Practical Example: Using a MIDI Keyboard

To understand how these two concepts work together, let’s consider a musician using a MIDI keyboard connected to a computer.

In basic terms, the musician plays a MIDI keyboard, which sends MIDI messages to the computer (or keyboards internal computer). The computer processes these messages in a digital audio workstation (DAW). On the screen, we see both a digital audio waveform and a MIDI piano roll.

  1. MIDI Input: When the musician presses a key, the MIDI keyboard sends a Note On message with the note’s pitch and velocity.
  2. MIDI Processing: The DAW receives these MIDI messages and can use them to trigger virtual instruments or external synthesizers.
  3. Audio Output: The sound generated by these instruments is then converted into an audio signal, which can be recorded as a digital audio waveform.

Why Understanding the Difference Matters

Understanding the difference between audio signals and MIDI messages is vital for several reasons:

  • Editing: MIDI data is highly editable. You can change notes, adjust velocities, and modify control changes without re-recording. This is not as easily done with audio signals.
  • Flexibility: MIDI allows you to use different virtual instruments or synthesizers without changing the original performance. In contrast, audio recordings are tied to the specific sound captured during recording.
  • File Size: MIDI files are much smaller than audio files because they only contain performance instructions, not the actual sound data.

Conclusion

Audio signals and MIDI messages are both integral to modern music production, each serving unique purposes. Audio signals capture the actual sound, while MIDI messages provide detailed instructions on how the music should be performed. By leveraging both, musicians and producers can achieve a high level of creativity and precision in their work. Understanding how to use and manipulate these two types of data is crucial for anyone involved in digital music production.

Posted on 2 Comments

How to convert YouTube videos to MP3 audio

It has come to my attention that many people out there are looking for instructions on how to convert YouTube Videos easily into MP3 files for your MP3 player.  I know this isn’t directly related to the MIDI topic, but it is one step further in my quest to find the perfect YouTube to MIDI converter.

So I looked at a bunch of different options.  Only two stood out to me as being good enough to mention. If you have any other suggestions, please mention them in the comments below. I would be very interested to hear your thoughts.

The runner up (not my first choice) would be the web site: www.video2mp3.netThe Good: It’s very easy to use. Just copy the URL link from the desired YouTube video and paste it into the form field on the Video2MP3 website, then hit “convert”. The Bad: There are some annoying Ad screens to wade through and the first time I tried it I got several pop-up spam screens (never good). The second attempt however, was pop-up free. They have two quality settings, normal and high. If you choose the high quality option you may need to stand in line. They have a Que system and it could take a while to get to you.  However, if you need an MP3 made from a YouTube video and won’t be doing this type of conversion very often, this is a solid option.

YouTube MP3 ConvertNext, and a better solution for me, is the FireFox plugin.  (found here) . The Good: You simply find the YouTube video you want to download as MP3 and click the “Download as MP3” button. Extremely easy.  THE BAD: It only works in FireFox, And you have to install 3 plugins before you can use it. The plugins are…

  1. Grease Monkey Plugin: Download Here
  2. Grease Fire Plugin: Download Here (optional but recommended)
  3. YouTube to MP3 Plugin: Download Here

However, if you have access to FireFox…  it is so easy. Plus, if you do use FireFox on any regular basis, you’re going to want the GreaseMonkey and GreaseFire plugins anyway. They are incredible enhancements to the overall browsing experience.

So, using the information I just gave you, within just a few minutes you too can have MP3 versions of your favorite YouTube clips.

Have another MP3 from YouTube conversion tip? Let us know in the comments below.

Posted on Leave a comment

What is MIDI?

MIDI Connections Chart
MIDI In/Out through a sound card or direct via USB connection

M.I.D.I. – Musical Instrument Digital Interface

Basically, MIDI is a computer language used in networking two or more devices together. The specific devices we are most often referring to when discussing MIDI are musical computers, like synthesizers or signal processors. Essentially this means that you can hook up two musical devices and have them “communicate” with each other.

Some Basic Concepts
You don’t need to understand nuclear fusion to get a grasp on this MIDI stuff, there are just a few basic concepts you have to grasp.

  1. MIDI information IS NOT audio information. This is a hang up for many people who are just starting out in the music and audio arena. MIDI is merely a set of numerical instructions that are sent and received between the devices. The musical devices then translate this data into meaningful commands. So when a MIDI command is sent from one device to another, the signal is telling the second device which notes to play, how long to hold them, which sounds to use… etc.
  2. You need to understand how the flow of MIDI information works. MIDI data is sent out of the “OUT” port, MIDI data is received at the “IN” port. So for example if you want to send a MIDI data from a sequencer to a synthesizer the cables would connect on the OUT of the sequencer (because info is coming out) to the IN of the synthesizer (because the synth is receiving info). This can be confusing at first because the temptation is to plug the IN of one machine directly into the IN of another. But if you do that, you are not going to get any sound…. Ever.
  3. Channels – MIDI data transmits on 16 different channels. This allows for 16 different sets of MIDI data to be sent at once, which means a sequencer could control up to 16 different instruments at one time. Typically each instrument would be sent separately on a different channel. For example, drum track information is usually sent on channel 10 and so would play back on channel 10, Bass guitar sounds are usually on channel 2, synth on 4 and so on. You just have to make sure that the synthesizer that is receiving the channels has the correct sound selected for that channel.

Because MIDI does not carry with it the actual audio sound data, but just the note commands, midi files are extremely light and compact. A large number of songs can take up a relatively small amount of space on a disk or hard drive. This reason, along with it’s versatility makes MIDI an ideal language for almost any musician, and especially those who are on the road for performances or deal in large volumes of music.