Waves H-Comp Hybrid Compressor is the only compressor that I know with the function of adjusting to the bpm of the track but there is an app for Android that allows you to take the values in ms ​​according to the bpm of the song called dynametrics. I use it for delays, reverbs and dynamics conditioners like expanders, compressors, limiters or gates. It is designed for sound engineers but I use it since I like the precision and it is also free.