Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for the Amplitude analyzer.

Hierarchy

Index

Properties

Optional barSize

barSize: number

The size of the split bars for the level scale (in pixels).

5 by default.

Optional color

color: string

Main color of widget drawing.

Optional colorClip

colorClip: string

Color for the value of very high level (clipping level).

Optional colorNorm

colorNorm: string

Color for the value of the normal level.

Optional colorWarn

colorWarn: string

Color for the value of high level (warning level).

Optional connectDestination

connectDestination: boolean

Should or not to connect the analyzer to the destination output. true by default.

Optional fftSize

fftSize: number

An unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data. Must be a power of 2 between 2^5 and 2^15, so one of: 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, and 32768.

Optional fillStyle

fillStyle: string | CanvasGradient | CanvasPattern

Style for the level scale. Can be represented as a simple color ('#f00'), CanvasGradient or CanvasPattern.

Optional sourceChannel

sourceChannel: number

The number of the source channel to analyze.

  • 0 - left channel (by default)
  • 1 - right channel

Optional stereo

stereo: boolean

If true then the input signal will be automatically split into two channels and presented as a double scale.

true is by default.

Optional valueClip

valueClip: number

A number in the range [0..1] represents the percentage of the signal value after which it is considered very high (clipping value).

0.9 by default (means 90%)

Optional valueWarn

valueWarn: number

A number in the range [0..1] represents the percentage of the signal value after which it is considered high.

0.8 by default (means 80%)

Generated using TypeDoc