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

    Type Alias WaveshaperAnchor

    key value
    type entity
    key "waveshaperAnchor"
    is

    An anchor on the waveshaper curve, influencing how the amplitude is remapped.

    type WaveshaperAnchor = {
        slope: PrimitiveField<number, "mut">;
        waveshaper: PrimitiveField<NexusLocation, "immut">;
        x: PrimitiveField<number, "mut">;
        y: PrimitiveField<number, "mut">;
    }
    Index

    Properties

    Properties

    slope: PrimitiveField<number, "mut">

    The amount the curve right before this anchor is sloped.

    key value
    default 0
    range [-1, 1]
    waveshaper: PrimitiveField<NexusLocation, "immut">

    The waveshaper that uses this anchor.

    key value
    default no default, required
    required true
    targets api.TargetType.Waveshaper, meaning one of:
    entities.Waveshaper
    immutable true
    x: PrimitiveField<number, "mut">

    The x-coordinate of the anchor.

    key value
    default 0
    range [0, 1]
    y: PrimitiveField<number, "mut">

    The y-coordinate of the anchor.

    key value
    default 0
    range [0, 1]