[Scilab-users] Plotting properties of digital audio filters

fred_audio_dsp frederikdruyts at gmail.com
Mon Dec 14 21:36:05 CET 2015


Hi,

The suggestions have all been implemented. I think the plots are being
produced as they should now.

I would then like to ask a question about the response of a particular
filter from a software plugin; it's supposed to be a four pole low pass
filter, set at 1047Hz.

The code used:

[imrep,sr,fmt]=sfread("REA_LP_1047Hz_24dB.aif")
A=fft(imrep)
A=A(1:(size(A,"*")/2))

db=20*log10(abs(A))
phi=(atan(imag(A),real(A)))*180/%pi

plot2d("ln",db)
plot2d("ln",phi)


The plots:

magnitude
<http://mailinglists.scilab.org/file/n4033224/mag.png> 

phase
<http://mailinglists.scilab.org/file/n4033224/phase.png> 


The impulse response (sampled at 44100kHz):

response.zip <http://mailinglists.scilab.org/file/n4033224/response.zip>  


My question is whether what we're seeing here is the actual magnitude and
phase response of the filter, or if there is still an error in the way I'm
treating the data?

Regards,

Frederik



--
View this message in context: http://mailinglists.scilab.org/Plotting-properties-of-digital-audio-filters-tp4033198p4033224.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list