AudioNodeEmitterShape AudioNodeEmitterShape AudioNodeEmitterShape AudioNodeEmitterShape Class

Definition

Describes the shape in which an AudioNodeEmitter emits audio.

public : sealed class AudioNodeEmitterShape : IAudioNodeEmitterShapepublic sealed class AudioNodeEmitterShape : IAudioNodeEmitterShapePublic NotInheritable Class AudioNodeEmitterShape Implements IAudioNodeEmitterShape// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Create a cone emitter shape by calling CreateCone. Create an omnidirectional emitter by calling CreateOmnidirectional. Assign an emitter shape to an emitter by calling the overload of the AudioNodeEmitter constructor. After the emitter has been created, retrieve the associated AudioEmitterShape object with the AudioNodeEmitter.Shape property.

Properties

ConeProperties ConeProperties ConeProperties ConeProperties

Gets an object that defines the characteristics of an emitter's cone shape, including the inner and outer angle of the cone and the gain applied to the signal at the outer angle.

public : AudioNodeEmitterConeProperties ConeProperties { get; }public AudioNodeEmitterConeProperties ConeProperties { get; }Public ReadOnly Property ConeProperties As AudioNodeEmitterConeProperties// You can use this property in JavaScript.

Remarks

Create a cone emitter shape by calling CreateCone.

Kind Kind Kind Kind

Gets a value indicating the kind of shape represented by the AudioNodeEmitterShape.

public : AudioNodeEmitterShapeKind Kind { get; }public AudioNodeEmitterShapeKind Kind { get; }Public ReadOnly Property Kind As AudioNodeEmitterShapeKind// You can use this property in JavaScript.

Methods

CreateCone(Double, Double, Double) CreateCone(Double, Double, Double) CreateCone(Double, Double, Double) CreateCone(Double, Double, Double)

Creates an instance of AudioNodeEmitterShape representing a cone shape.

public : static AudioNodeEmitterShape CreateCone(double innerAngle, double outerAngle, double outerAngleGain)public static AudioNodeEmitterShape CreateCone(Double innerAngle, Double outerAngle, Double outerAngleGain)Public Static Function CreateCone(innerAngle As Double, outerAngle As Double, outerAngleGain As Double) As AudioNodeEmitterShape// You can use this method in JavaScript.
Parameters
innerAngle
double Double Double Double

The inner angle of an audio node emitter cone shape, where the audio signal is not attenuated at all, expressed in radians.

outerAngle
double Double Double Double

The outer angle of an audio node emitter cone shape, where the audio signal is fully attenuated, expressed in radians.

outerAngleGain
double Double Double Double

A value indicating the gain applied at the outer angle of the cone.

Returns

CreateOmnidirectional() CreateOmnidirectional() CreateOmnidirectional() CreateOmnidirectional()

Creates an instance of AudioNodeEmitterShape that is omnidirectional, meaning that the audio signal attenuation is the same regardless of the emitter's Direction.

public : static AudioNodeEmitterShape CreateOmnidirectional()public static AudioNodeEmitterShape CreateOmnidirectional()Public Static Function CreateOmnidirectional() As AudioNodeEmitterShape// You can use this method in JavaScript.
Returns