Duchess Catherine has revealed that music helped her to cope when things got tough during the global health crisis.