Skip to content

Repository files navigation

Wavedit

is a programm where you open a .wav file and it shows the Fourier Transform of the WAV file.

You can then click on a specific frequency in the fourier transform diagram and it will remove those frequency values (via IFFT) from the <name>.wav file
and stores the filtered audio in a file called <name>_filtered<frequency filtered>Hz.wav

Note that the filtered data has a smaller amplitude than the original data because a window function (von-Hann window) is applied to the data before taking the Fourier Transform which reduces Spectral Leakage but also dampens the amplitude of all spectral components a bit.

It uses QT, qcustomplot for plotting.
For calculating the Fourier Transform the functions fft (and inverse ifft) in fft.h are used.
To read the WAV files I use the library AudioFile

Tests

I tried to add unit tests for some but not all methods of class WavFourier.
WavFourier is like the Backend as it provides all the methods for calculating etc.,
the GUI is handled by MyWindow.h explicitly. PlotWidget.h contains methods that use qcustomplot to plot the diagrams.

Demo

Demo

About

Filter frequencies in WAV file on click

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages