Writing sinusoids to DAC