Microsoft MakeCode

Siren using sine wave/sinusoid

Hi

I’ve gotten a task that I have no idea how to do.

The task is to get the microbit, when connected to a speaker, to play a frequency (hz) that goes up and down like a sine wave /siunusoid so it souns like a siren.

I’ve tried using map under math to convert, but it doesn’t work.
I am completely lost as to how to solve this task.

Any suggestions?

The second part of the task is to change the frequency down/up using the A/B buttons. Blank there too.