Out of my league but don't think a transformer will work too well like that. You, from what I know, would need a center tapped transformer and feed it from a H-bridge. That way you get the alternating polarity that the transformer is looking for.So looks like I'm back to a dc square wave into a transformer