Daniel Jacobson's MATH 447 Webpage | Class Page | ||||||
---|---|---|---|---|---|---|---|
Home
≫
Project 5
≫
Problem 3
Project 5: Discrete Cosine Transform & Audio Compression | |||||||
For the third problem, we will use the MDCT+windowing function from the previous problem to compress chords of multiple tones layered on top of one another. For the sake of demonstration, a basic C Major chord (C-E-G-C) will be compressed at different degrees of bit quanitzation.
Relevant files:
prob2codec.m,
question3.m, and
prob3.txt.
As expected, higher values of \(b\) produce more accurate approximations. At \(b = 8\), next to no error can be heard. Plotting # of quantization bits vs RMSE shows a roughly logarithmic relationship, with each extra bit of precision cutting error roughly in half: | |||||||
|