This week, I finished making graphical interface. It's able to...
Chooses which files to open (and where to save the output) via the standard windows file window
Adjusts the level for the input to fit within the 14bit/13bit data range, and then compressed then decompressed them
Output the resulting matlab data to a .mat file
Choose various options, such as which of (or both) algorithms to use, downsample, output wav file etc.
...squashing a few bugs on the way!
I also wrote some functions to get the frequency components of the input and output
waveforms using fast fourier transform. And the tests seem to show that passing the function through the compression/decompression functions did not have a significant effect on the frequencies within the output signal vs the input one.
Here are the final results!
A-law companding

u-law companding

Comments