Parameter lRoom Attenuation of the room effect, in millibels (mB), in the range from -1000 to 0. The default value is -1000 mB.
lRoomHF Attenuation of the room high-frequency effect, in mB, in the range from -1000 to 0. The default value is -100 mB.
flRoomRolloffFactor Rolloff factor for the reflected signals, in the range from 0 to 10. The default value is 0.0. The rolloff factor for the direct path is controlled by the DirectSound listener.
flDecayTime Decay time, in seconds, in the range from 0.1 to 20. The default value is 1.49 second.
flDecayHFRatio Ratio of the decay time at high frequencies to the decay time at low frequencies, in the range from 0.1 to 2. The default value is 0.83.
lReflections Attenuation of early reflections relative to lRoom, in mB, in the range from -10000 to 1000. The default value is -2602 mB.
flReflectionsDelay Delay time of the first reflection relative to the direct path, in seconds, in the range from 0 to 0.3. The default value is 0.007 seconds.
lReverb Attenuation of late reverberation relative to lRoom, in mB, in the range -from -1000 to 2000. The default value is 200 mB.
flReverbDelay Time limit between the early reflections and the late reverberation relative to the time of the first reflection, in seconds, in the range from 0 to 0.1. The default value is 0.011 seconds.
flDiffusion Echo density in the late reverberation decay, in percent, in the range from 0 to 100. The default value is 100.0 percent.
flDensity Modal density in the late reverberation decay, in percent, in the range from 0 to 100. The default value is 100.0 percent.
flHFReference Reference high frequency, in hertz, in the range from 20 to 20000. The default value is 5000.0 Hz.
lQuality Quality of the effect, in the range from 0 to 3. The default value is 2.
No Return Value
Example
|
Visual Basic Syntax iAudioEffectCount = MoviePlayer1.GetAudioEffectCount For i = 0 To iAudioEffectCount - 1 List1.AddItem MoviePlayer1.GetAudioEffectName(i) Next MoviePlayer1.UsePitchTempo = False MoviePlayer1.AudioEffect = List1.ListIndex MoviePlayer1.FileName = "c:\test1.mpg" MoviePlayer1.SetI3DL2ReverbParam Text32, Text33, Text34, Text35, Text36, Text37, Text38, Text39, Text40, Text41, Text42, Text43, Text44
|
|