Aded function to convert song to ArrayBuffer or base64 string, as desired.