The pharyngeal muscles are a group of muscles that form the pharynx, determining the shape of its lumen, and affecting its sound properties as the primary resonating cavity posterior to the oral cavity.