I'm trying to extract normal state(without equipment moving state) sound from mixed audio signal.
As you see in this picture, I want to extract marked signal(with red box) from mixed audio signal.
How can I extract certain signal?
%% Loading Original Wav Data from folder
Wav_files = dir(fullfile('C:\Users\Administrator\Desktop\Machine_Learning\Eunseob\data_set(single_axis_movement)\all\*.wav'));for k=1:numel(Wav_files) % number of wave files in the given folder
info{k} = audioinfo(Wav_files(k).name); [y{k}, Fs{k}] = audioread(Wav_files(k).name); % save each wave files as an data y{k}
Y{k} = fft(y{1, k}); % Fast fourier transform of each data in the y{k} and save each transformation in the Y{1, k}
% y{k} = y{k}/norm(y{k}); % Normalization of each audio data
sizes{k} = size(y{k}, 1); % Find size of each audio data
minValue = min(cell2mat(sizes)); % Find minimum size of audio data
end%% Mixing all audio data
base = zeros(minValue, 1)for i = 1:numel(Wav_files)UnifiedAudio{i} = y{1, i}(1:minValue, :) % Unifying length of audio data(crop to minimum size)
MixedUnifiedAudio = base+UnifiedAudio{i};end
Best Answer