synthesize sound on the fly