This repository contains a simple implementation of an audio watermarking system using spread spectrum techniques and the Fast Fourier Transform (FFT). The system is designed to robustly embed and extract data from audio signals, even under synchronization issues.
- Embeds binary data as a watermark into audio signals.
- Encoding and decoding based on FFT.
- Synchronization mechanism for desynchronization tolerance.
- Modular scripts for encoding, decoding, and data extraction.
- Fully implemented in MATLAB.
| File | Description |
|---|---|
codificador.m |
Encodes binary data and embeds it into the audio signal. |
decode.m |
Extracts the encoded data from a watermarked signal. |
extractdata.m |
Performs the extraction of inserted bits. |
CodeSynchronize.m |
Helps synchronize the blocks of embedded data. |
watermarking.m |
Main script that demonstrates the full watermarking flow. |
whitening.m |
Applies signal whitening to enhance robustness. |
- MATLAB R2020b or newer.
- No additional toolboxes required.
- Clone the repository:
git clone https://github.com/josgard94/simplewatermarking.git
- Open MATLAB in the repository directory.
- Run the main script:
watermarking
Leave a ⭐ if you enjoy it or find it useful!