openmixer — generated API reference
    Preparing search index...

    Function allocateConsole

    • Build a ConsoleAllocation from a source count (the gig's N) + the per-bus-type counts. The input-channel count is set to N so the buses size to N; mains default to a stereo pair.

      Parameters

      • sourceCount: number

        the gig's N (configured input source count)

      • buses: Partial<BusAllocation> = {}

        the per-bus-type counts (partial; defaults fill the rest)

      • Optionalname: string

        optional gig/scene label

      • OptionalinputWidths: readonly ChannelWidth[]

      Returns ConsoleAllocation

      the console allocation