Question: matlab code 2. (4.5 points) Implement a function to calculate the cepstral coefficients of an audio file. You will then use your function to analyze
2. (4.5 points) Implement a function to calculate the cepstral coefficients of an audio file. You will then use your function to analyze the timbre of note samples of three instruments. a. (1 point) Write a function named "myCeps" to calculate the first several cepstral coefficients of a frame of audio. The input/output specifications of the function are as follows function cc myCeps (x, p, fftLen) % Calculate the linear frequency cepstral coefficients by performing discrete cosine transform (DCT) on the positive- f requency log-magnitude spectrum or performing FFT on the full- f requency log-magnitude spectrum of the input waveform. % ,Input : one frame of audio waveform (windowed signal) : the number (order) of cepstral coefficients 8fftLen: fft length when calculating the spectrum of x % Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
