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.
For relevant properties from the DAStatics class, see DAStatics Properties Relevant to DAMicrophone Objects.
DAMicrophone Functions
Transform Creates a new DAMicrophone object that is the result of applying the given transformation to the original microphone's location.
Creates a new DAMicrophone object that is the result of applying the given transformation to the original microphone's location.
Syntax
microphoneObj.Transform( xf )
Parameters
- xf
- DATransform3 object to be applied to microphoneObj.
Return Value
Returns the DAMicrophone object.
Remarks
This function composes values. The resulting transformation is the new value applied to the old value.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.