Contents

createParameter(withIdentifier:name:address:min:max:unit:unitName:flags:valueStrings:dependentParameters:)

Creates a single parameter object.

Declaration

class func createParameter(withIdentifier identifier: String, name: String, address: AUParameterAddress, min: AUValue, max: AUValue, unit: AudioUnitParameterUnit, unitName: String?, flags: AudioUnitParameterOptions = [], valueStrings: [String]?, dependentParameters: [NSNumber]?) -> AUParameter

Parameters

  • identifier:

    The parameter’s non-localized, permanent name.

  • name:

    The parameter’s localized name for display.

  • address:

    The parameter’s address.

  • min:

    The parameter’s minimum value.

  • max:

    The parameter’s maximum value.

  • unit:

    The parameter’s unit of measurement.

  • unitName:

    The parameter’s localized unit name.

  • flags:

    The parameter’s characteristic details.

  • valueStrings:

    The parameter’s localized value strings.

  • dependentParameters:

    Any other parameter’s whose values may change as a side effect of this parameter’s value changing.

Return Value

A newly-initialized parameter object.

See Also

Related Documentation

Audio Unit Implementations