wave synthesis moved to a separate thread generating a queue of wgchunk for portaudio callback to play