added audio output example code