Patent attributes
Described herein is a system for embedding audio watermarks. To improve performance without a user perceiving the audio watermark, a system embeds audio watermarks in audio data using scaling factors that are calculated based on a spectral masking level for each frame of the audio data. The scaling factors may vary over time and correspond to an amplitude of the audio watermark across a series of watermark frames. The system processes the audio data to determine a spectral mask, which represents an amount of energy perceived in a first frequency range that is caused by energy represented in neighboring frequency ranges. By selecting scaling factor values that keep an amplitude of the audio watermark below the threshold indicated by the spectral mask, the system may embed the audio watermark in the first audio data without the audio watermark being audible to the user.