Hola, masterwww. Veamos si te sirve esto:
Código:
<html>
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<script>
musica = ["Passport.mid","prince.mid","Toy_Story.mid"]
n=Math.round(Math.random()*3);
document.write('<bgsound src="'+musica[n]+'" loop="-1"></bgsound>');
</script>
</body>
</html>
Esto es para IE. Te dejo una página que habla sobre el sonido:
http://www.htmlweb.net/manual/sonido/sonido_1.html
Saludos,