@audiotool/nexus - v0.0.12
    Preparing search index...

    Type Alias AudioMerger

    key value
    type entity
    key "audioMerger"
    is

    Represents an audio merger device.

    The merger device takes audio from three inputs, A, B, C, and mixes them according to coordinates on a triangle spanned by points A, B, C.

    type AudioMerger = {
        audioInputA: NexusObject<Empty>;
        audioInputB: NexusObject<Empty>;
        audioInputC: NexusObject<Empty>;
        audioOutput: NexusObject<Empty>;
        blendModeIndex: PrimitiveField<number, "mut">;
        displayName: PrimitiveField<string, "mut">;
        mergeCoords: NexusObject<AudioMergerCoordinates>;
        positionX: PrimitiveField<number, "mut">;
        positionY: PrimitiveField<number, "mut">;
    }
    Index

    Properties

    audioInputA: NexusObject<Empty>

    Location for the audio input A.

    key value
    is api.TargetType.AudioInput
    audioInputB: NexusObject<Empty>

    Location for the audio input B.

    key value
    is api.TargetType.AudioInput
    audioInputC: NexusObject<Empty>

    Location for the audio input C.

    key value
    is api.TargetType.AudioInput
    audioOutput: NexusObject<Empty>

    Location for the audio input, contains a mix of A, B and C according to the merge coords.

    key value
    is api.TargetType.AudioOutput
    blendModeIndex: PrimitiveField<number, "mut">

    Selects the blending algorithm used to calculate the gains of the input signals based on the distance to the points A, B and C in the AudioMergerCoordinates below.

    • 0: invalid
    • 1: full-power
    • 2: equal-power

    The difference between algorithms is best understood when considering the situation where all 3 input signals receive an identical sine wave peak value 1.

    • full-power: Means the output will become louder when the knob is in the center - you will basically add all 3 signals, resulting in a sine wave with peak 3. If the knob is at e.g. point A, the signal will get gain 1.

    • equal-power: The output gain of the signal will be near-constant when moving the knob.

    key value
    default 1
    range [1, 2]
    is api.TargetType.AutomatableParameter
    displayName: PrimitiveField<string, "mut">

    The user-assigned name of this device.

    Contains the coordinates determining the mix between A, B and C.

    positionX: PrimitiveField<number, "mut">

    X position on the desktop in the DAW.

    key value
    default 0
    range full
    positionY: PrimitiveField<number, "mut">

    Y position on the desktop in the DAW.

    key value
    default 0
    range full