Fewer children are learning to play a musical instrument than in their parents' generation, a survey suggests.