Adding a sync_music function.