AudioWatermarking-master

所属分类:数学计算
开发工具:matlab
文件大小:8327KB
下载次数:3
上传日期:2020-04-17 07:10:20
上 传 者erenselt
说明:  audio watermarking algorithm

文件列表:
.DS_Store (6148, 2019-06-17)
extract_watermark.m (2465, 2019-06-17)
find_mask.m (1441, 2019-06-17)
images (0, 2019-06-17)
images\dc_water.png (18937, 2019-06-17)
images\extracted.jpg (4217, 2019-06-17)
images\extracted4bit.jpg (6135, 2019-06-17)
images\flow.jpg (64054, 2019-06-17)
images\fq_water.png (19617, 2019-06-17)
images\leo_re.jpg (3808, 2019-06-17)
images\mask_signal.jpg (64094, 2019-06-17)
images\original.jpg (81079, 2019-06-17)
images\watermarked.jpg (111163, 2019-06-17)
imsad.wav (5815876, 2019-06-17)
masked.wav (2646044, 2019-06-17)
set_watermark.m (2702, 2019-06-17)

# Secret in Music A Matlab project uses Signal Processing Technique — Digital Watermark to hide data in an audio track. ## Introduction **Digital Watermark** is a technique that embed specific information into digital signals like audio tracks, video films, or images. As to hiding information in music, it is called **Audio Watermarking**, using **Masking Effect** to make audience difficult to hear the information under the music. Moreover, there are two kinds of typical watermarking schemes: **DC Watermarking** and **Frequency Watermarking**, which one is based on **Temporal Masking** and while another is based on **Frequency Masking**. ## Psychoacoustics - Masking Effects A “weak” sound is difficult to be heard while a “strong” sound is also being played. * Temporal Masking - Amplitude (Volume) * Frequency Masking - Amplitude in Frequency

## DC Watermarking DC Watermarking puts the information into the part of music, where the magnitude is lower than the perceptual threshold of human ears. ## Frequency Watermarking For Frequency Watermarking, since human ear has limit on distinguishing audio frequency, it is possible to find out a frequency band loud enough while the frequency near it are rather quiet. Therefore, we replace the frequency band with low magnitude to our information to make the watermark. ## Process We implemented **Frequency Watermarking** in this project to achieve our goal. The original soundtrack we used in this project is: * Length: 30 seconds * Sampling Rate: 44100 (1/s) * Frame Length: 512 samples * [Original Sound Track](https://drive.google.com/file/d/0B_MhQboJITZGRzJiYWYydlZDc2s/view) The image that we put in: * Size: 150*150 pixels
![](./images/leo_re.jpg) Frame the audio track and do FFT, and find out the frequency threshold.


The red line is the frequency threshold while the blue line is the original frequency. Replace the signal under threshold to the watermark signal. **Original Frequency Spectrum**

**Frequency Spectrum after In-audible Removal**

## Result [Watermarked Sound Track](https://drive.google.com/file/d/0B_MhQboJITZGZml2STNoMlVWRzQ/view) Extracted Information (Image):
![](./images/extracted.jpg)
Store more bits in one “slot” of frequency:
![](./images/extracted4bit.jpg)
The reconstructed image would inevitably follow with some noise due to the translation loss of doing FFT and IFFT. Moreover, the number of bit in frequency replacement will influence the result.

近期下载者

相关文件


收藏者