Sentence:  The soldiers were oftener gambling and dancing beneath the walls than keeping watch upon the battlements, and nothing was heard from morning till night but the noisy contests of cards and dice, mingled with the sound of the bolero or <WSD>fandango</WSD>, the drowsy strumming of the guitar, and the rattling of the castanets, while often the whole was interrupted by the loud brawl and fierce and bloody contest. 
Meaning of the word marked with <WSD> tags:  (Q1130969)  A form of lively flamenco music and dance that has many regional variations (e.g. "fandango de Huelva"), some of which have their own names (e.g. "malagueña", "granadina"). (from mid 18th c.)