Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SoundEffect.DopplerScale Property

Gets or sets a value that adjusts the effect of doppler calculations on the sound (emitter).

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static float DopplerScale { get; set; }

Property Value

Value that scales doppler calculations on the sound (emitter).

DopplerScale changes the relative velocities of emitters and listeners.

If sounds are shifting (pitch) too much for the given relative velocity of the emitter and listener, decrease the DopplerScale. If sounds are not shifting enough for the given relative velocity of the emitter and listener, increase the DopplerScale.

AdjustmentEffect
DopplerScale = 0No Doppler will be applied
0.0 < DopplerScale <= 1.0Decreases the effect of Doppler
DopplerScale = 1.0No scaling (default)
DopplerScale > 1.0Increase the effect of Doppler
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.