Fiberglass insulation works best for soundproofing. It's also fire-resistant, making it easier to comply with local regulations regarding soundproofing material in your area. You can also use polyurethane foam spray as an alternative.