Emergent musical properties of a transformer under contrastive self-supervised learning