c# - How to play dynamic sounds in XNA? -
is possible dynanmically generate sounds xna c# code?
i looked time ago when xna first released. @ time possible playback sound resources included in compiled code.
have there been changes or new features added since xna 1.0 allow xna application generate , playback audio on fly?
yes.
xna 4.0 added support dynamic audio allows to:
- create regular immutable sound effect raw buffer using soundeffect.fromstream method.
- create dynamicsoundeffectinstance object modify audio data of new streaming sound effect object dynamically.
read more in blog entry what’s “dynamic” soundeffectinstance? , in apphub article dynamic audio.
Comments
Post a Comment