<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PHASE",
  "identifier" : "/documentation/PHASE/PHASEAssetRegistry/registerGlobalMetaParameter(metaParameterDefinition:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PHASE"
    ],
    "preciseIdentifier" : "c:objc(cs)PHASEAssetRegistry(im)registerGlobalMetaParameter:error:"
  },
  "title" : "registerGlobalMetaParameter(metaParameterDefinition:)"
}
-->

# registerGlobalMetaParameter(metaParameterDefinition:)

Registers a global metaparameter with the asset registry.

```
func registerGlobalMetaParameter(metaParameterDefinition: PHASEMetaParameterDefinition) throws -> PHASEGlobalMetaParameterAsset
```

## Parameters

`metaParameterDefinition`

A single parameter that controls the value of multiple parameters.

## Return Value

A global metaparameter object. If an error occurs, the function returns `nil`.

## Discussion

Global metaparameters attach to any number of sound event assets. When an app adjusts a global metaparameter at runtime, the change propagates immediately to all the attached sound events.

> Note:
> Although you register a global metaparameter definition (``doc://com.apple.phase/documentation/PHASE/PHASEMetaParameterDefinition``) with this function, you receive a global metaparameter instance (``doc://com.apple.phase/documentation/PHASE/PHASEMetaParameter``) when you access the parameter by its ``doc://com.apple.phase/documentation/PHASE/PHASEMetaParameter/identifier`` using the ``doc://com.apple.phase/documentation/PHASE/PHASEAssetRegistry/globalMetaParameters`` dictionary.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)