Please follow the following steps:
Use WAV file recorded in Phase I. The record length is 15 s< Trec <30 s.
Write C/C++ program to read the file and write modified WAV file. Program should process file
sample by sample, and write the output at time t as
out(t) = in(t) + 0.1n(t) + 0.05rn(t)
in(t) is input from WAV file at time t,
n(t) is added “noise” sine wave with frequency f=1,600 Hz and amplitude equal to 10%
of the maximum sample amplitude (e.g. 3,277 for a 16-bit samples) and
rn(t) is random noise with maximum amplitude equal to 5% of the maximum amplitude
of the signal.
Please note that the processing may create overflow that you must compensate for.
Read WAV file in Matlab and find the dominant spectral component in the signal (frequency
Design a low pass filter to eliminate added sine wave @1,600Hz with minimum attenuation of
60dB. Pay attention to trade-off between real-time performance and the quality of the filter.
Describe implementation of your filter. Discuss your decisions in the report.
Write C/C++ program to read the file, check the sampling frequency from the file header and
select appropriate filter for that frequency. It is acceptable to assume that you will have only
two standard sampling frequencies (Fs), but you must process the signal according to the
sampling frequency of the record. Measure the performance of the program (end-time –
Prepare Report and submit hard and soft copy of the report. The report must contain the following
Short description of the problem and proposed solution.
Documented design of the filter in Matlab that includes
a. Plot of filter characteristics (magnitude and phase) for both filters/sampling frequencies
b. Type of filter (FIR/IIR) and reasons for choosing that particular filter.
c. Filter coefficients
d. Organization of processing; how do you perform your processing in C/C++.
Spectrum of the input WAV file and spectrum of the processed file.
Performance of the program (execution time). Explain if your program can work in real-time.
Short description of your experience and “lessons learned”
Complete source code of your project (MS Visual Studio or Linux gcc/g++ with all files
necessary to compile the project & make file in the single ZIP file).
Projects that can not be compiled and run in either environment will lose 40% of the grade.
Only original and independent work will be graded. Plagiarized work will not receive any
PDF or DOC file of your Report with the following format of the filename:
[login to view URL] or PDF
Matlab script used to prepare the assignment.
Sound files in the following format (use your last name and first initial):
o [login to view URL] - original record
o [login to view URL] - modified record
o [login to view URL] - filtered output
Write a C/C++ program to determine the dominant spectral component in the output WAV [login to view URL] provide the same documentation of the design and
performance of the additional solution.
5 freelancere byder i gennemsnit ₹10500 på dette job
Hello,Nice to meet you I have experiences for 10 years about Matlab /Simulink modelling and engineering simulation. I have done your proposal quickly and then u will get good result. Plz contact with me. Thanks.
Hi I have alot of experience in c and c++ and so i am confident i can help you out with this project. If you are interested just let me know and i will get to work :)