Click here to return to the Filters page
This block allows for simultaneous access to three different filter types: lowpass, highpass, bandpass. See State-Variable Filter for information about the parameters and calculations for this algorithm.
This block performs the same function as the State Variable Q Input, with the difference being the frequency is now controlled by a third input pin called 'Frequency Input' instead of text window entry.
The format for Q is 5.23 or 8.24 (depending on your processor), and it is inverted. In other words…
Input to Q pin =
The format for F is also 5.23 or 8.24, and the calculation is:
Input to F pin =
where the filter cutoff frequency is and the sample rate is . The sine argument is unitless (radians).