openmixer — generated API reference
    Preparing search index...

    Function tapPointBoundary

    • Resolve a tap point against an ordered, placed chain: the index of the LAST processor that runs strictly before the point, or TAP_AT_CHAIN_INPUT when nothing does.

      By construction, not by search: the answer is read off the placements the operator authored, so it tracks any rearrangement of the FX around the point for free — there is no anchor node to go missing and no fall-through rule to get wrong. An absent point (one this set does not declare) resolves to nothing and is reported as such by the caller; it is never approximated to the nearest boundary, which is the collapse this whole model exists to delete.

      Parameters

      • chain: readonly Placed[]

        the strip's chain in DERIVED order (i.e. already through orderPlaced)

      • set: TapPointSet

        the model's tap point set

      • point: string

        the point to resolve

      Returns number

      the chain index of the last processor upstream of point, or the input sentinel