They are often called a beat maker or producer. In the past, music producers generally had a slightly different meaning. Still, these days it is often used to describe a beat maker.