Python decibel meter. The entire script is below.