Base36 encoding for melodies