There are tracks running by our house, but the freight trains squeal like a godawful giant running fingernails down a mile-long chalkboard, for five minutes straight (I'm not kidding - continuous shriek of metal on metal) several times a night.
I like the idea of trains, but I'm not ever going to rent a place by the tracks again if I can help it. The railway companies here don't keep their cars in good enough condition. Also we're by a curve and near the yard, so the trains are usually slowing down or speeding up, which makes them seem even longer.