Before buying a home, check out how noisy a neighborhood it is.
During escrow, the seller will give you a disclosure letting you know that some levels of noise may be acceptable to some, and not to others.
They want you to do your own inspections and satisfy yourself that the noise level is not going to bother you.
If you sign that disclosure paperwork, the seller is protected from you coming back and suing them stating that you never told them about the excessive noise levels of the neighborhood.