CSS Audio Critons are probably worth a look.