CrossoverBand

CrossoverBand

new CrossoverBand(optionsopt)

Source:
Properties:
Name Type Attributes Default Description
lower String | function <optional>
"lowpass3"

The type of filter for the range below cutoff frequency. See EqBand for more information.

upper String | function <optional>
"highpass3"

The type of filter for the range above cutoff frequency. See EqBand for more information.

format_label function <optional>
function (t, x, y, z) { return sprintf("%.2f Hz", x); }

The function formatting the handles label.

CrossoverBand is a EqBand with an additional filter.

Parameters:
Name Type Attributes Default Description
options Object <optional>
{ }

An object containing additional options.

Extends

Members

element :HTMLDivElement

Source:
Overrides:

The main SVG group. Has class .aux-crossoverband.

Type:
  • HTMLDivElement

filter :Filter

Source:
Inherited From:

The filter providing the graphical calculations.

Type:

lower :Filter

Source:

The filter providing the graphical calculations for the lower graph.

Type:

upper :Filter

Source:

The filter providing the graphical calculations for the upper graph.

Type:

Methods

frequencyToGain(freq) → {number}

Source:
Inherited From:

Calculate the gain for a given frequency in Hz.

Parameters:
Name Type Description
freq number

The frequency.

Returns:

The gain at the given frequency.

Type
number