openmixer — generated API reference
    Preparing search index...

    Function chainFromSlotState

    • Project a whole strip's typed processing state onto a normalized Processor chain — the complete strip→chain direction (extends populateChainParams with inserts). It seeds the kind's default stage skeleton (channel vs bus), populates the eq/gate/dynamics nodes' params from the typed slots, replaces the skeleton's placeholder insert nodes with the strip's actual PluginInsert slots (in audio order, at the canonical pre-fader insert region), and runs normalizeChain so the result satisfies the always-present-EQ + structural-fader invariants.

      Pure and non-mutating. The inverse is slotStateFromChain.

      Parameters

      • strip: SlotState

        the strip's typed processing state (eq / dynamics / inserts)

      • kind:
            | "input"
            | "fxReturn"
            | "aux"
            | "mix"
            | "matrix"
            | "cue"
            | "main"
            | "fxSend"
            | "dca"
            | "muteGroup"
            | "mixMinus"

        the strip's ChannelKind — picks the default skeleton + fader presence

      Returns Processor[]

      a fresh normalized chain mirroring the strip