To do this project you need to have full control over frequency content. You can arbitrarily specify the frequency, but then you need to do discrete integration to obtain the phase angle. This is implemented in a matlab script.
Here is a simple demonstration of the matlab script. The code and spectrogram are below.