Basic song writing is a good place to start (and should cover the dynamics/loudness of notes and sounds as per the parent post to introduce groove). Then combine with sound engineering.
There is a lot of resources all over the web, and tutors and courses that you can do.