how is digital sound created?


So sound is a vibration which is created from things rubbing or banging together etc. If stuff isn't interacting with something to create a sound how are sounds created from nothing? I.e in the digital world? Music on an iPod or a beep from a computer? I have always wondered what the noise's are and that come from computers when they are 'thinking' or working - wtf's going on there?

lucaspeni
The example you learned in school with the ruler on the desk was always flawed.

The sound isn’t from the contact of the thumb on the guitar string but the string vibrating back and forth. The question is how is that string energy recorded and brought back to life.

For that Wikipedia is your friend:

https://en.wikipedia.org/wiki/Sound_recording_and_reproduction
If stuff isn’t interacting with something to create a sound how are sounds created from nothing? I.e in the digital world? Music on an iPod or a beep from a computer? I have always wondered what the noise’s are and that come from computers when they are ’thinking’ or working - wtf’s going on there?

A good question and not often anyone asks so no big surprise no one knows. Heck I had to look it up a bit myself just to make sure and get it right.

With analog the electrical signal literally is an analog of the original sound. Air compresses a microphone membrane, which moves a magnet generating an electric current in a wire. This exact process is reversed at the other end. Digital is the same, only different, because instead of being an analog of the whole entire vibration digital breaks this down into discrete samples of the wave form.

What happens when playing this back is a string of bits corresponds to a particular voltage level. A whole bunch of them describes a stair-step of changing voltages. Exactly how this works is diagrammed out here: https://sciencing.com/analog-digital-converter-work-4968312.html

This gets very mathy very fast, which is why nobody talks about it, people being mathlexic and all. Best way to think of it, each bit or word represents the voltage taken at a certain point on the signal wave form. Playing it back the bits are reversed to generate a voltage based on the bits. This all happens very fast and the result is something some people call music.

Crappy cell phone and computer DACs have more of the stair-step distortion. Really good expensive DACs have a lot more quality parts and do a lot more processing trying to smooth the signal out by interpolating values in between the stair steps. It never works but like I said works good enough for some people to call it music.

What happened to the ones and zeros, or the on and offs?

I mean digital, digital.

What we hear is analog right? How it's transmitted received and then reproduced is the difference. There is no conversion just amplification, and transmission in the analog world.

There is a program running in the digital world using a processor to convert the 1s and 0s. I thought they were RISC-V or ARM Based too.. Cirrus chips are risc based. They are better known for numeric processing or as a math co-processor. Mac chips were risc based,

Intel and AMD chips used and extended or SISC. 8086 is still close to the speed in the real world..

R-2R ladder  and  combinations or hybrid DAC tech seems to be the direction its all doing to me.. No single DAC Tech seems to be able to do it all.. Multi types of DAC chips in the same enclosure is closing the gap between Analog and Digital.. I'm just amazed at the progress and SQ refinement over the last 10 years. Look at STL

The problem is RISC-V is open source it's NOT proprietary. The competition would be a government (like China) vs a company like Intel or AMD. Who has the motivation and what's the reason for the Tech advancement.. 

A DAC is used in Stealth Tech, Sonar, Radar. It's a real world military device, I'm sure that is what it was developed for..

Open code... I don't think it's gonna fly over the long term or gain a public market knitch. The military has the resources the Audiophile world doesn't.

Regards
pick your so called expert carefully…a moving magnet microphone would suck… Care to study things again Albert ?

Sampling is just the beginning.