This is a starter project to take the loudness levels of the microphone and show it as a signal over time. The height of the signal is the loudness of the phone. The bottom sprite needs to be modified to digitize the upper signal to a set bitrate (number of samples per second and number of bits per sample). This is similar to what happens on an audio CD or a music mp3 file.
For the University of Utah CS1030 course. Contact me if you are interested in the actual assignment, which works people through the digitizing process.