Band pass filter design

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

1 件のコメント

öncü uzun
öncü uzun 2019 年 3 月 1 日
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

サインインしてコメントする。

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 3 月 1 日
編集済み: KALYAN ACHARJYA 2019 年 3 月 1 日

0 投票

[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 件のコメント

öncü uzun
öncü uzun 2019 年 3 月 1 日
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?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeAudio Processing Algorithm Design についてさらに検索

タグ

タグが未入力です。

質問済み:

2019 年 3 月 1 日

コメント済み:

2019 年 3 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by