SMS: Principles of digital audio and video