Have we tested this function ?

I would suggest to place it under Sound.prototype.