What about the music used during war times and the National Anthem?

If the music during war times is produced using the musical instruments, then it is not allowed. The music of the National Anthem is also Haraam.