I found this out the hard way.
When you replace rotors and brakes you have to clean and smooth where the rotors press against in the rim and around the posts so you dont get vibrations and scraping sounds. It takes lots of work but its worth it when its nice and quiet.