A-Tractor - v2.3.1
    Preparing search index...

    Interface IAmplitudeAnalyzerOptions

    Options for the Amplitude analyzer.

    interface IAmplitudeAnalyzerOptions {
        barSize?: number;
        color?: string;
        colorClip?: string;
        colorNorm?: string;
        colorWarn?: string;
        connectDestination?: boolean;
        fftSize?: number;
        fillStyle?: string | CanvasGradient | CanvasPattern;
        sourceChannel?: number;
        stereo?: boolean;
        valueClip?: number;
        valueWarn?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    barSize?: number

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

    5 by default.

    color?: string

    Main color of widget drawing.

    colorClip?: string

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

    colorNorm?: string

    Color for the value of the normal level.

    colorWarn?: string

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

    connectDestination?: boolean

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

    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.

    fillStyle?: string | CanvasGradient | CanvasPattern

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

    sourceChannel?: number

    The number of the source channel to analyze.

    • 0 - left channel (by default)
    • 1 - right channel
    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.

    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%)

    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%)