How do audio cards work?

231 views

I know that electricity activates magnets moves drivers vibrates air = sound, but how do a sequence of 0s and 1s get translated by the audio card into the correct vibrations, and especially why is this technology so reliable? What bit of physics do I need to learn to understand this?

In: 13

3 Answers

Anonymous 0 Comments

Inside an audio dac (digital to analog converter), you have that string of ones and zeroes converted to a number (grouped in, let’s say 4 bits for ease of explaining).
0111 = 7, or about half way if 1111 =15.

The converter uses the binary 0111 to set the output, there are a few ways to do this. The simplest one is a summing ladder, there each 1 turns on an internal switch. So for 7/0111, you have 0+4+2+1 (binary), and that gives you an output of 7.

An other way uses pulse length to get an average of the value during the time slice. So it would be on for about half of the time. (Count up, if the target value is over your counter, be on).

Edit: to get better sounds, you increase the amount of bits (your range) and how often you change your value (frequency)

You are viewing 1 out of 3 answers, click here to view all answers.