主权项 |
1. A computer-implemented method to embed data in an audio signal, comprising:
selecting a pseudo-random sequence according to desired data bits to be embedded in the audio frame; computing, by a processor, a masking curve based on the audio signal; shaping a frequency spectrum of the pseudo-random sequence in accordance with the masking curve, thus obtaining a shaped frequency spectrum of the pseudo-random noise sequence; detecting, for audio signal frames, presence or absence of transients; and adding, by a processor, the shaped frequency spectrum of the pseudo-random noise sequence to a frequency spectrum of the audio signal, the adding occurring on an audio signal frame by audio signal frame basis, wherein, for audio signal frames for which presence of a transient is detected, the shaped frequency spectrum of the pseudo-random noise sequence is not added to the frequency spectrum of the audio signal. |