A pilot is flying a Cessna 172 a single engine propeller air
A pilot is flying a Cessna 172 (a single engine propeller aircraft) while listening to the instructions from a female air traffic controller. An audio file that the pilot hears is uploaded on blackboard, which contains the noise generated by his Cessna aircraft. Please use the theory and technology you have learned in AAE 301 to process the audio file by removing the aircraft noise. Hint: (1) The Matlab command to load a wav sound file is audioread or wavread, and the command to write a wav sound file is audiowrite or wavwrite. (2) The voiced speech of a typical adult female has a fundamental frequency from 165 to 255 Hz. (3) The aircraft noise in this audio file contains low frequencies AND high frequencies (your AAE 301 instructor has already helped remove most noise of frequencies that overlap with those of the air traffic controller’s voice). I was wondering how to cancel out the frequencies above 3000 Hz and below 165 Hz using Fourier transforms in MATLAB.
Solution
% Sinusoidal Signal with freq = 261.6Hz
y=sin(2*pi*(261.6)*t);
t=0:1/8000:1;
% Plays the signal at varying Sampling Frequencies
sound(y, 8000);
sound(y, 4000);
sound(y, 16000);
% Changes the sinusoidal freqeuncy to 440Hz
y=sin(2*pi*(440)*t);
sound(y, 8000);
% Changes the sinusoidal freqeuncy to 146.84Hz
y=sin(2*pi*(146.84)*t);
sound(y, 8000);
% Set of different notes to be joined
t100m=0:1/8000:0.1;
E=sin(2*pi*(659.28)*t100m);
C=sin(2*pi*(523.28)*t100m);
G=sin(2*pi*(784)*t100m);
A=sin(2*pi*(440)*t100m);
Ap=sin(2*pi*(466.16)*t100m);
F=sin(2*pi*(698.48)*t100m);
% Notes put together to create one function.
m=[E E E C E G G C G E A Ap G E G A F G E C];
sound(m, 8000);
% creates a wav file of m
wavwrite(m, \'mysounds\');

