music encode