Instructions changed, new method to generate tone with consistent sampling rate