init(soundAssetIdentifier:mixerDefinition:)
Creates a sampler node with the given sound asset and mixer.
Declaration
init(soundAssetIdentifier: String, mixerDefinition: PHASEMixerDefinition)Parameters
- soundAssetIdentifier:
A name that refers to the audio data that the node plays. See Assetidentifier.
- mixerDefinition:
An object that combines audio layers.