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
All sound is produced by something vibrating in air. Intercranial stimulation has not been perfected yet!
Digital devices generate the sound internally or sample the sound externally. Those electronic "frequencies" are converted to analog waveforms which can be amplified to drive a transducer (speaker) which moves the air.
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