Controlling 3 DC motors, high freq. pwm needed

I need to control 3dc motors with a L298N. So im total I need 6 pwm outputs around 20khz.
I tested it with the regular pwm frequency but the beeping sound is too annoying
Is it possible to change 6 outputs of the SAMD21 to a higher frequency?