Name

set()

Class

LowPass

Description

Sets frequency and bandwidth of the filter with one method.

Syntax

  • filter.set(freq, q)

Parameters

  • freq(float)the cutoff frequency in Hertz
  • q(float)the resonance (or 'Q factor'), a value between 0.1 and 10

Return

  • void