Have you plugged the DI output into a known working input with an XLR, like a plain old mic mixer? It doesn't seem to me that you've isolated the problem to the DI out, and the issue is likely the interface between the DI out and the Scarlett input. For one thing, I think you have to use the TRS part of the combo connectors on the Scarlett for a line level input; I don't know if the alleged transformer DI out is mic or line level, but if it's line level going into a mic-level input, the extra 30 dB or so of gain is going to accentuate a regular ol' ground loop problem into something much more egregious.
But again, you need to confirm that there is a clean signal coming out of the DI output -- the easiest way to do that is to plug it into a working mixer. If you don't have one yourself, maybe take it to a friend who does.
But again, you need to confirm that there is a clean signal coming out of the DI output -- the easiest way to do that is to plug it into a working mixer. If you don't have one yourself, maybe take it to a friend who does.
