PHASENumberMetaParameterDefinition
A specification for a metaparameter defined by a number.
Declaration
class PHASENumberMetaParameterDefinitionOverview
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.
Pass it into the PHASEMappedMetaParameterDefinition initializer, init(inputMetaParameterDefinition:envelope:). Then, access the instance of this class using the mapped parameter’s inputMetaParameterDefinition property.
Topics
Creating a Metaparameter Definition
init(value:)init(value:identifier:)init(value:minimum:maximum:)init(value:minimum:maximum:identifier:)