Trademark protection exists for sounds or musical compositions to the extent that they meet the trademark law requirements of use in commerce, distinctiveness, and unobjectionable content, and provided that the sound is not a functional feature of the product being sold.
A famous example of a sound trademark is the three notes heard along with the NBC peacock.