Visual Domain Audio Watermarking (VDAW) and Spectral Barcode Audio Watermarking (SBAW)
Publication date: February 9th, 2014 (draft)
Author: Alex Radzishevsky
Last edited: October 7th, 2014.
Watermarking, a form of steganography, is a process of hiding digital information in a carrier signal for the purpose of identification, annotation, signing or copyright. Various digital audio watermarking techniques and solutions are available today. Companies and individual researchers are active in this field proposing various digital signal processing approaches for inaudible embedding of digital data into audio content. Majority of such solutions provide means for secret watermarking, i.e. such data hiding which cannot be revealed by simple audio or visual inspection of the audio material. Most of such solutions represent commercial products and use proprietary algorithms.
One example of a sophisticated watermarking software solution utilizing proprietary patented[1] DSP approach is “Audio Watermarking Tools” (AWT1/2/3 product line) developed by Alex Radzishevsky and offered at this web-site.
At the same time, there are many different use-cases, which don’t require this high level of secrecy, but still require watermarking functionality, i.e. an ability of insertion and extraction of additional digital data (digital codes) into/from audio content. So far, there were not many such solutions available to general public, and those available were too much simplistic and/or too obvious (such as mixing of voiced data into the audio content, or adding audible tonal signals carrying digital data by representing its individual bits by different durations of “beeps”).
In this paper, a new method of digital data hiding inside audio content is proposed. The method is called “Visual Domain Audio Watermarking” (VDAW). Search in web-search engines and other information sources did not reveal any prior references to the proposed approach which description is presented below.
The idea of Visual Domain Audio Watermarking (VDAW) approach consists in embedding of graphically (visually) represented digital data (such as barcode) within a visual representation of a sound wave to allow further extraction (reading) of the embedded data from the visually represented sound using standard visual scanning tools (e.g. standard barcode scanner).
Spectrogram is one particular example of many graphical sound wave representation forms available. Spectrogram (or sonogram) is a visually represented spectrum of frequencies in a sound as they vary with time. To be more precise, spectrogram image (refer to Figure 1) is a color/intensity map representing sequence of signal spectrum figures obtained using FFT decomposition of overlapping signal frames. It is a common way of graphical representation of audio content, which provides very high level of detailing and is easily readable visually.
Figure 1. Exemplary spectrogram of human speech
So, why not to “draw” a barcode inside the sound spectrogram? This is exactly the idea behind “Spectral Barcode Audio Watermarking” (SBAW), one particular embodiment of VDAW. SBAW approach consists in embedding of graphical barcode (such as QR code or other 1D or 2D barcode) inside audio spectrogram. The idea of "drawing pictures" inside the sound spectrum was known for many years, but so far it was never used to carry barcodes with arbitrary data.
SBAW encoding process consists of the following three main stages:
- transforming the audio signal into time-frequency domain (spectrogram),
- “drawing” the barcode (carrying watermark payload) within the spectrogram by zeroing its particular regions corresponding to zero modules of the barcode,
- backward synthesis of the modified audio spectrum into the output (encoded, watermarked) audio.
The encoding process is schematically depicted on Figure 2.
Figure 2. Watermarking process using the Spectral Barcode Audio Watermarking (SBAW) technique
Extraction of watermark from the audio signal comprises in:
- representing signal in a form of spectrogram (time-frequency domain),
- locating the barcode in the sound spectrogram (manually/visually or using automatic means),
- scanning the spectrogram image region containing the barcode with barcode scanner (either software or hardware, manually by a user or automatically using a special barcode detection and scanning tool),
- extracting the barcode data from the found barcode.
The decoding process is schematically depicted on Figure 3.
Figure 3. Watermark extraction from signal spectrogram using barcode reader
It turns out that the proposed SBAW approach:
- is relatively easy to implement,
- provides robust watermarking (able to withstand even multiple lossy sound transformations such as MP3 encoding/decoding), including robustness to time-stretching and pitch-shifting,
- is very scalable (depending on application and requirements, the barcode can be placed at different frequency regions and can “last” different durations of time),
- provides very high watermarking data rate (especially with 2D barcodes),
- allows time-accurate detection of the barcode location in the signal,
- provides nearly “inaudible” watermarking (especially if only high sound frequencies are used to carry the barcode).
In the simplistic implementation, SBAW method provides open (“not secret”) watermarking in the sense that anyone can find the barcode using visual analysis of the sound spectrogram. If needed, secrecy can be achieved by obfuscation of the barcode data, obfuscation of the barcode picture, scrambling of spectrogram regions used as a watermark carrier and using other hiding methods. Additionally, various methods can be used to improve the robustness of the embedded data (such as adding pre-generated comfort noise in the carrier frequency region, etc.).
Different 1D and 2D barcodes can be utilized. The preferable barcode type is 2D, such as QR Code or Data Matrix[2]. Data Matrix barcode is likely the most preferable one as it is geometrically compact, provides high watermarking data rate, incorporates reliable error correction mechanism, is scalable and is convenient to embed into rectangular spectrogram picture.
SBAW-watermarked audio signal can undergo sound transformations such as MP3 encoding and decoding, but the barcode will still be detectable. At the same time, the audibility of the watermark remains minor when proper encoding settings are used.
The easiest manual way of barcode detection is scanning the barcode with barcode scanning application running on smartphone. It is enough to point the smartphone camera on the computer screen showing the signal spectrogram in a proper geometrical proportion (refer to Figure 3), and the barcode will be detected successfully. This feature of the proposed technique is claimed to be innovative as it allows for watermark extraction from a specific signal representation (spectrogram) using no any proprietary tools, but only with standard barcode reader available for general public.
Example
Input audio file: |
Output, SBAW-watermarked audio file carrying two copies of Data |
|
|
To extract the watermark, simply scan the barcode on the spectrogram picture with your smarphone running any available barcode reader app. Please note that the scanner should be able reading Data Matrix barcodes. The author of the present article used "i-nigma Barcode Scanner" app for Android.
Many alterations of the described basic idea can be applied to improve detectability, watermarking data-rate, inaudibility (transparency) and robustness of the watermark.
SBAW is only one embodiment of many other possible embodiments of much more general VDAW approach. The very same basic idea is potentially applicable to other kinds of “visual domains” (visual sound representations) having forward and backward single-valued transforms.
Although simplicity, effectiveness and novelty of the proposed approach can be a good sign of invention, its patentability remains questionable in the light of the prior art known in the field of barcodes, visual representation of audio signals and modulation techniques. For the above reason, and in order to contribute to public knowledge, the author decided to openly publish description of the proposed approach within the present article and make it publicly available.
References:
1. Alex Radzishevsky, Watermark embedding and extraction, United States Patent No. 8,116,514 (February 2012)
2. Data Matrix barcode, http://en.wikipedia.org/wiki/Data_Matrix