Band pass filter design

Hi lads ,
I want to ask how can ı apply band bass signal an audio file which is 'wav'.

1 comentario

öncü uzun
öncü uzun el 1 de Mzo. de 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

Iniciar sesión para comentar.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 1 de Mzo. de 2019
Editada: KALYAN ACHARJYA el 1 de Mzo. de 2019

0 votos

[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 comentario

öncü uzun
öncü uzun el 1 de Mzo. de 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?

Iniciar sesión para comentar.

Categorías

Más información sobre Audio Processing Algorithm Design en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 1 de Mzo. de 2019

Comentada:

el 1 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by