## DAMicrophone Class

Creates a DAMicrophone object that represents a (potentially) animated microphone. A microphone is used with the RenderSound function to produce spatialized sound behaviors from sounds embedded in a geometry.

Every microphone has a location and an orientation in a three-dimensional space, and this location determines how a sound is detected. The closer a microphone is to the source of a sound, the louder and sooner the microphone detects that sound. The effect is to "spatialize" the sound, that is, make it seem that it was actually recorded in a three-dimensional space.

For the default microphone, the location is the origin, looking in the negative z-direction, with positive y-axis considered up. You can create new microphones at different locations by using the Transform function. Microphones are omnidirectional.

This class inherits from the DABehavior class.

- DAMicrophone Functions
- Relevant Properties from the DAStatics Class

### DAMicrophone Functions

Transform

####

Transform

DAMicrophone Class

Creates a new DAMicrophone object that is the result of applying the given transformation to the original microphone's location.

microphoneObj.Transform(
xf
)

##### Parameters

xf
  The DATransform3 object to be applied to microphoneObj.

##### Return Values

Returns the DAMicrophone object.

##### Remarks

This function composes values. The resulting transformation is the new value applied to the old value.

### Relevant Properties from the DAStatics Class

The following properties are defined in the DAStatics class and are most relevant to objects of type DAMicrophone.

lib.DefaultMicrophone

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.