Adjust the sliders. Look inside - the code is surprisingly simple :)
If you don't understand the "sin" and "cos" blocks, take a look at "Sine & Cosine - An Introduction": https://scratch.mit.edu/projects/537849058/ Code, graphics and music by me. The music was made with BeepBox.