ENF Project

MATLAB Digital Signal Processing

About

In this project I created a matlab function in order to extract a given frequency region and calculate the max and weighted energies of that frequency region. This is done through using DSP (Digital Signal Processing) Techniques through the use of MATLAB. The aim of this project is to analyse the ENFs (Electric Network Frequency) of different audio signals and check for any frequency changes in background humming noises (these humming noises may leak to other frequency components which comprimise the validity of the original audio signal)








How does it work?

The Function Call
1

1.) the input signal is taken and segmented into different blocks in which each block has a window function (hamming window) applied to it so that minimal spectral leakage occurs


2.) Each block is then zero-padded and the fft of each block is computed separately


3.) The frequency bins of each of the segmented block is calculated using the indices and the sampling frequency of 44,100Hz


4.) Depending on the given Frequency, the blocks representing that narrowband region of frequencies is extracted and a surface plot is made for those audio signals as seen below.

Download free bootstrap 4 landing page, free boootstrap 4 templates, Download free bootstrap 4.1 landing page, free boootstrap 4.1.1 templates, meyawo Landing page
2

The plots on the left is compared with the plot below

Download free bootstrap 4 landing page, free boootstrap 4 templates, Download free bootstrap 4.1 landing page, free boootstrap 4.1.1 templates, meyawo Landing page
3

To validate the audio signal we take the cross correlation of the two signals. (In this case we used Ground truth1 and recording1)

It can be seen that at that point (x=35) is when the two signals are correlated the most, meaning if we shift of the signals that amount of times, they will resemble each other the most. However this must be shifted back 33

Download free bootstrap 4 landing page, free boootstrap 4 templates, Download free bootstrap 4.1 landing page, free boootstrap 4.1.1 templates, meyawo Landing page

How can you communicate?

Contact Me