It could be that the drum bearings are on the way out - although all washing machine drums tend to thrash around a bit. Open the door, grasp the drum top and bottom and see if you can feel any vertical play. If you can, then the bearings have worn a fair bit and the noise is the inner drum bashing against the outer one.
John, January 2008