Complex sentence: Very often the bagpipe was used for playing dance music; other instruments served this purpose only in the absence of the bagpipe.
Split into simpler sentences: Very often the bagpipe was used for playing dance music. Other instruments served this purpose only in the absence of the bagpipe.