Skip to main content

getPriority

function getPriority(controllerType: string)

Retrieves the priority for a given controller type.
Defaults to DEFAULT_PRIORITY if the type is not defined in PRIORITY_MAP.

Returns: number


    • The priority value associated with the controller type.

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
controllerTypestring

The type of the controller (e.g., 'webaudio-knob').