A loud, sometimes described as "freight train like" sound usually points towards a bearing issue.
As far as I understand, the bearings are integrated into the gear case assembly.
A quick google search points towards anywhere between 160$ and 260$ for the part.
Question then is if you can do the repair yourself - if not you can probably say about the same im labour charges.
Given similar washers from a Whirlpool brand (Amana, Maytag, Whirlpool) or competitors can be had for 500-600$, it really depends on the circumstances.
If you can't do the job yourself, it's probably not worth it.
If the machine is older, the risk of other failures is higher makeing it probably not worth it.
If the machine is pretty new, you can do the job yourself and you can get the part cheap, it might be worth it.
If you find the serial number on the service tag, some on here might be abled to decode it and tell you how old it is.