example of using portaudio