AudioNodeEmitter Class

Definition

Describes the position and other physical characteristics of an emitter from which the audio of an AudioGraph node is emitted when spatial audio processing is used.

public ref class AudioNodeEmitter sealed
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Audio.IAudioNodeEmitterFactory, 196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioNodeEmitter final
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Audio.IAudioNodeEmitterFactory), 196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioNodeEmitter
function AudioNodeEmitter(shape, decayModel, settings)
Public NotInheritable Class AudioNodeEmitter
Inheritance
Object Platform::Object IInspectable AudioNodeEmitter
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Constructors

AudioNodeEmitter()

Initializes a new instance of the AudioNodeEmitter class.

AudioNodeEmitter(AudioNodeEmitterShape, AudioNodeEmitterDecayModel, AudioNodeEmitterSettings)

Initializes a new instance of the AudioNodeEmitter class with the specified emitter characteristics.

Properties

DecayModel

Gets an object describing the decay model for the AudioNodeEmitter.

Direction

A vector expressing the direction in which audio is emitted from the AudioNodeEmitter.

DistanceScale

Gets or sets the scale of the position of the emitter. All distances used when calculating spatial audio effects are expressed in meters. Setting this value allows you to automatically scale the calculations to use some other unit.

DopplerScale

Gets or sets the scale of the doppler velocity of the emitter. The DopplerVelocity of an emitter is expressed in meters per second. Setting this value allows you to automatically scale the velocity to some other unit.

DopplerVelocity

Gets or sets a Vector3 expressing the velocity at which the emitter is moving in 3D space, expressed in meters per second.

Gain

Gets or sets a value indicating the gain applied to the signal by the emitter.

IsDopplerDisabled

Gets a value indicating whether Doppler processing is disabled for the emitter.

Position

Gets or sets a vector representing the position of the emitter in 3D space, expressed in meters.

Shape

Gets an object describing the shape in which the emitter emits audio.

SpatialAudioModel

Gets or sets a value that specifies the spatial audio processing model used by the emitter.

Applies to