Learning music can help fortify neural pathways associated with cognitive function and could help to stave off dementia, researchers report.