Demonstration of audio PCM from analog sampling to digital encoding