The application provides a
digital audio embedding and detecting method, which comprises the following steps: generating
watermark information according to time and
watermark load equipment coding; then performing frame
processing on the audio to be embedded with the
watermark, and performing two-stage
wavelet decomposition; embedding a synchronization code in the first half of the low-frequency
wavelet coefficient, and performing
discrete cosine transform and
singular value decomposition processing on the second half of the low-frequency
wavelet coefficient to embed the watermark information; finally, in the watermark detecting stage, firstly, the audio subjected to
attack in the current sliding window is subjected to two-stage
wavelet decomposition through a sliding window method, whether the current sliding window contains the synchronization code is confirmed, the position of the synchronization code is determined,
frame synchronization is realized, and then the second half of the audio frame subjected to
attack and
frame synchronization is processed to extract the watermark information. The synchronization code and the watermark information are embedded in the audio at the same time, the problem that the embedding position of the watermark in the detecting stage is difficult to position and the problem that the watermark is difficult to
resist synchronous attacks such as
cutting are solved, and the watermark detecting efficiency and accuracy are improved.