Patent ID: 8078301

Claim:
A method to embed a code in a compressed audio data stream comprising: obtaining a plurality of transform coefficients from the compressed audio data stream, wherein the plurality of transform coefficients is represented by a respective plurality of mantissas and a respective plurality of scale factors; determining a plurality of reconstructed time domain samples corresponding to the plurality of transform coefficients; determining a temporary watermarked transform coefficient corresponding to a first transform coefficient in the plurality of transform coefficients, the temporary watermarked transform coefficient determined for a combination of the plurality of reconstructed time domain samples with the code; and modifying a first mantissa and a first scale factor associated with the first transform coefficient to embed the code in the compressed audio data stream by comparing the first mantissa and the first scale factor with a second mantissa and a second scale factor associated with the temporary watermarked transform coefficient to determine a modification to the first mantissa and the first scale factor for embedding the code.