Generally, cheating will not be considered because it cannot be used as evidence. It depends on the attitude of the invigilator.
First of all, in this case, in general art exams, you are not allowed to randomly play music. You can bring an instrument to play by yourself, or you can bring something to play by yourself. Then you can show your talents on the side, but usually you can't play music. This is rarely the case, really.