An earbud pouch
Two squares of soft cloth, perhaps with a scrap of ordinary wadding if you want a little pad. Sew, turn, and add a snap that does not sit where the case is thickest. Elastic in a casing makes a scrunched mouth. The scrunchie page is a hair elastic, a different scale. Test with the earbuds in the pouch before you stitch the snap permanently.
A drawstring on something this small often will not gather. A snap is simpler.
Do not use a heat filling. There is no heat here.