Contents

init(parameterID:scope:element:value:)

Creates an event with a parameter identifier, scope, element, and value for the parameter to set.

Declaration

init(parameterID: UInt32, scope: UInt32, element: UInt32, value: Float)

Parameters

  • parameterID:

    The identifier of the parameter.

  • scope:

    The audio unit scope for the parameter.

  • element:

    The element index in the scope.

  • value:

    The value of the parameter to set.

Discussion

For more information about the parameters, see AudioUnitParameterID, AudioUnitScope, and AudioUnitElement. The valid range of values depend on the parameter you set.