3
\$\begingroup\$

I'm using XNA 4.0 and trying to reproduce an "underwater effect" for every sound played.

How can I apply an effect to a sound, and what effect should I use to make it sound like as if the player is underwater while hearing it?

\$\endgroup\$
1
  • 2
    \$\begingroup\$ A low-pass filter might work, but I don't know how to do that in XNA. \$\endgroup\$
    – Anko
    Dec 16, 2013 at 16:03

1 Answer 1

2
\$\begingroup\$

DynamicSoundEfectInstance might be a good start.

Load the sound into a buffer from a file, then apply a custom low-pass filter to it.

See this question for more detailed information on adjusting audio in XNA.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .