1. Enter the frequency (If it's too high it breaks [see why below]) 2. Enter the amplitude in scratch units (see the background)
If the frequency is too high it doesn't work because of Scratch's limitations (try Turbowarp) I did this in 1 script!