Arduino Due Timer interrupt

Hello folks,

I purchased Arduino Due and successfully performed an experiment on Simple waveform Generator.
Please refer follwing link:

Now my task is to repeat the wave by increase the time between two samples.
Solution for task is :

  1. Use timer Interrupt for wave and then modify the frequency.

The above solution is not crystal clear to me. If my question is silly, I am extremely sorry because I am new to arduino Due. I referred lot of link I didn't receive proper answer.

I guess the following link is the answer for my task but it has not been explained in more details.

http://forum.arduino.cc/index.php?topic=317832.0

Help is highly appreciated.

Maybe have a look at this.GitHub - ivanseidel/DueTimer: ⏳ Timer Library fully implemented for Arduino DUE
This Timer interrupt works fine for me.
If you get trouble with the DueTimer.h then have a look to this: "#ifdef __arm__" of DueTimer.h is not working (anymore)? · Issue #47 · ivanseidel/DueTimer · GitHub

Danke Patrick........