Medieval musical instruments were divided into three categories: string instruments, wind instruments, and percussion instruments. String instruments included the harp, lute, rabel, and viola. Wind instruments were the flute, shawm, chirimía, and bagpipe. Percussion instruments consisted of drums, cymbals, and castanets.