In class today we used Audacity to explore how sound is stored inside a computer.
The sound wave energy is converted into electricity by the microphone, which is in turn converted to binary by the sound card.
We used Audacity to capture our voices then apply digital effects to them to change the sound.
You can use specialised websites and software such as http://sfbgames.com/chiptone , to create purely digital noises. These can then be saved and used inside other programs such as games.