The answer to 'centipede scratching sounds' is that centipedes are not known to make scratching sounds. The sounds you may be hearing are more likely caused by other pests, such as mice, rats, or insects crawling in the walls or attic. Centipedes are predatory arthropods that primarily use their speed and agility to catch and consume their prey, rather than making audible sounds.
If you are hearing persistent scratching or scurrying noises in your home, it's best to have a professional pest control technician inspect the area to identify the source and recommend the appropriate treatment. Attempting to address the issue on your own without proper identification can lead to ineffective or even dangerous DIY methods.