Also: can mp3s be totally represented as a text file?

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 months ago

    Sound is just vibrations in the air. We have devices that can wobble when they are hit by these vibrations. This can be plugged into an electric circuit to adjust it’s power which the computer can read as a number.

    Then later, the computer runs everything in reverse. Those numbers are converted back into electrical power. This causes the wobbly bit in the speaker to vibrate in the same way which produces that same sound.

    Since at the end of the day it’s all numbers, an MP3 file can just be converted to those numbers and back again. Although those numbers won’t mean anything to people reading the file. (This is true for all computer files - you can always convert them to and from sequences if numbers).