Trinamic stepper drivers motor noise

I upgraded the steppers on my Azteeg X5 Mini V3 to Trinamic’s with StealthChop. The new drivers have made my printer almost silent, but I’m having an issue with the motors making a bit of a howl when moved at high speeds. I’m not missing steps or any other nasty stuff, it’s just a weird noise.

The root of the problem is Slic3r. For G0 and G1 moves it inserts a speed of 7800 mm/min and relies on the firmware to limit the actual feedrate. I’ve set default_feed_rate and default_seek_rate to 4000, which solves the problem when testing manually. These numbers are overridden by the Slic3r g-code. I also tried setting the alpha and axis max rates to 4000, but this hasn’t helped either.

What setting should I be adjusting, or is there some custom startup g-code I can put into Slic3r to set the max feedrate?

Imported from wikidot