output example: use OutputStream for audio streams as well