This version (23 Jun 2020 22:37) was approved by Joshua Berlin.The Previously approved version (23 Jun 2020 21:50) is available.Diff

State Variable (Q Input)

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.

As can be seen from the figure (above right), this block has two inputs and three outputs. The green (standard input) pin is for the signal and the orange is for a value to control filter Q. It's common to control the Q of the filter either by sending a DC input value to this pin or by using it with the RMS table to generate Q parameters from the input signal instead.

To control Q from a block parameter, refer to the State-Variable Filter.

The three output pins allows to choose among LP, HP, BP filters. This algorithm computes the coefficients for all filter types, giving simultaneous access. If your application does not require the use of all filter types, then the output may be connected to the terminal block.

Set the center frequency in the Freq (Hz) field or by dragging the ←→ arrows.

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 = 1/Q

resources/tools-software/sigmastudio/toolbox/filters/statevariableqinput.txt · Last modified: 23 Jun 2020 22:37 by Joshua Berlin