Band pass filter design

2 vues (au cours des 30 derniers jours)
öncü uzun
öncü uzun le 1 Mar 2019
Commenté : öncü uzun le 1 Mar 2019
Hi lads ,
I want to ask how can ı apply band bass signal an audio file which is 'wav'.
  1 commentaire
öncü uzun
öncü uzun le 1 Mar 2019
Thank you sir bu ı dont understand last part little fs should Fs is it because our sampling frequency is defined in the audio wav file

Connectez-vous pour commenter.

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 1 Mar 2019
Modifié(e) : KALYAN ACHARJYA le 1 Mar 2019
[y,Fs]=audioread('audio.wav');
% define cutoff frequencies
fc1=?
fc2=?
bandpass(y,[fc1 fc2],fs);
Similar answer is avaliable here, please check, detail documentation
  1 commentaire
öncü uzun
öncü uzun le 1 Mar 2019
a=('audio_signal.wav');
[y,fs]=audioread(a);
sound(y,fs);
figure(1);
plot(y);
spec=abs(fftshift(fft(y)));
Nfft=numel(y);
c=linspace(-fs/2,fs/2,Nfft);
plot(c,spec);
q=bandpass(spec,[2500 5000],fs);
figure(2);
plot(q)
what is wrong in this coding?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio Processing Algorithm Design dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by