Playing music with the brain in mind