---
title: PHASEStringMetaParameterDefinition
framework: phase
role: symbol
role_heading: Class
path: phase/phasestringmetaparameterdefinition
---

# PHASEStringMetaParameterDefinition

A specification for a metaparameter defined by text.

## Declaration

```swift
class PHASEStringMetaParameterDefinition
```

## Overview

Overview Use this class to spawn discrete instances of PHASENumberMetaParameter, for example, a “player speed” metaparameter that the app changes gradually from 0.0 to 1.0. To use a number metaparameter, create an instance of this class and: Register it with the engine by calling registerGlobalMetaParameter(metaParameterDefinition:), then access the instance of this class in the engine’s globalMetaParameters dictionary. Pass it to the PHASEBlendNodeDefinition initializer, init(blendMetaParameterDefinition:identifier:), and then access the instance of this class in a sound event’s metaParameters dictionary.

## Topics

### Creating a Parameter Definition

- [init(value:)](phase/phasestringmetaparameterdefinition/init(value:).md)
- [init(value:identifier:)](phase/phasestringmetaparameterdefinition/init(value:identifier:).md)

## Relationships

### Inherits From

- [PHASEMetaParameterDefinition](phase/phasemetaparameterdefinition.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Textual Metaparameters

- [PHASEStringMetaParameter](phase/phasestringmetaparameter.md)
