Sanitize output of sine streamer.