Research Article
A Relative Phase Based Audio Integrity Protection Method: Model and Strategy
Algorithm 1
The algorithm of random embedding strategy based on relative phase.
receiving the key vaults as kv (i); | set the number of kv (i) as n; | divide the audio signal equally into n segments as s (j); | sampling the s (j) to c (j); | c(j), initialize j=1; | while! end do | if jn then | calculate the phase spectrum of s(j); | determine the position of the maxima and minima in ; | calculate the coefficient matrix C (j) by DCT of c(j); | if the maxima is in front of the minima then | embedding the kv (j) at C (2,2); | else | embedding the kv (j) at C (4,4); | end if | end if | end while |
|