Be careful, because the regular foam you can get from anywhere isn't as effective as the studio grade foam, and it also poses a fire threat.
Those acoustic panels in that link are made of rigid fiberglass (most commonly Owens corning 703 or 705), covered in burlap or some other fabric. You can...