1 -- Like all the vars you can add the map name, the gametype, or both, to enable or disable features:
For example:
// spectator music
// 0 = disable, 1 = enable, default = 0
set ex_specmusic_mp_whatever "0"
2 -- You can already switch music while in spec mode, by pressing the melee key.