Class IIRFilterNode
java.lang.Object
com.codename1.media.audio.AudioNode
com.codename1.media.audio.IIRFilterNode
A general infinite impulse response filter with fixed coefficients, the Web
Audio
IIRFilterNode. The output has the input's channel count.-
Method Summary
Modifier and TypeMethodDescriptionvoidgetFrequencyResponse(float[] frequencyHz, float[] magResponse, float[] phaseResponse) Computes the filter's response at each offrequencyHz.Methods inherited from class AudioNode
connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, getChannelCount, getChannelCountMode, getChannelInterpretation, getContext, getNumberOfInputs, getNumberOfOutputs, setChannelCount, setChannelCountMode, setChannelInterpretation
-
Method Details
-
getFrequencyResponse
public void getFrequencyResponse(float[] frequencyHz, float[] magResponse, float[] phaseResponse) Computes the filter's response at each of
frequencyHz.Parameters
-
frequencyHz: the frequencies to evaluate -
magResponse: receives the linear magnitude at each frequency -
phaseResponse: receives the phase in radians at each frequency
-
-