dsp.AllpassFilter coefficient translation

조회 수: 3 (최근 30일)
Pablo Panitta
Pablo Panitta 2024년 3월 2일
댓글: Pablo Panitta 2024년 3월 8일
Hi
I need to create an All Pass filter with selectable frequency in an audio plugin I´m developing. As Frequency is not a property in dsp.AllpassFilter object, is there any function to calculate the coefficientes matrix from frequency input (among other parameters of course)? (e.g something similar to designShelvingEQ or designVarislopeFilter).
If not, any formulas to buitl my own function?
Thanks
Br
Pablo
  댓글 수: 1
Pablo Panitta
Pablo Panitta 2024년 3월 8일
I´ve found the answer in the description of dfilt.allpass function, where the transfer function of all pass filter is shown (just in case someone else is interesting in this)

댓글을 달려면 로그인하십시오.

답변 (1개)

jibrahim
jibrahim 2024년 3월 4일
Relevant methods of dsp.allpassFilter include:
  • freqz: Frequency response of discrete-time filter System object
  • coeffs: Returns the filter System object coefficients in a structure
  댓글 수: 3
jibrahim
jibrahim 2024년 3월 4일
I see, sorry about the confusion. Can you say more about the cutoff frequency of the all-pass filter? Is this a crossover filter?
Pablo Panitta
Pablo Panitta 2024년 3월 4일
Yes of course jibrahim, the frecuency where we have a phase shift of n*pi/2 [rad] (n=order). e.g In a second order ap filter would be phase shift of pi [rad].

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Audio Plugin Creation and Hosting에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by