Highland bagpipe music is written in the key of D major, where the C and F are sharp. Due to the lack of chromatic notes, to change key is also to change mode.