sample code for a soft sound in embedded systems interrupts lecture