Difficult

When it is alive we sing, when it is dead we clap our hands. What is it?