AudioSharp

Music, Programming, and other topics related to the modern Music Engineering Scene.

Digital Audio: The Basics

With the advent of computers, audio has been digitized. This should not come as a shock to you, as we've been using digital audio for many years now. But just how is audio digitized? The next few posts go over digital audio - the good parts and the bad.

Digital Audio relies on Quantization and Sampling. Quantization is the act of taking the peaks of an audio signal and storing them as binary values. These values are accurate to whatever bit depth you're working in (16 bit for CDs). Sampling is the act of splitting your signal into little chunks, called samples. You record the values at a specified interval, called the sampling rate, so you can reproduce the signal later. The sample rate for CDs is 44,100 Hz, which means 44,100 samples are taken per second. This might seem like a huge task, but don't worry. Computers are really quick.

Think of this like a grid being superimposed over your signal:
The horizontal grey lines are akin to your bit depth. The vertical lines are the sampling rate. The blue dots represent the samples that you would take of this wave form. You can see that they don't perfectly match up, but they're close enough that you can reproduce the wave form and still get something out that sounds similar to what you recorded.

Next up, we'll go over the limits of the digital model (aliasing), and ways around it.

0 comments:

Post a Comment

Followers

Disclaimer

Chemzoar does not intend to provide complete walkthroughs of everything covered on this website. Before undertaking any projects proposed by this website, be sure to do your own research on top of what's listed here. Chemzoar does not take any responsibility for decisions made based on the content of this site.