Use amplitude to control how high the wave peaks are, use frequency to control how many waves there are.
I was originally trying to make a flag generator, but this is OK.