added a file-writing example to the audio engine example