Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4245756
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:52:57+00:00 2026-05-21T03:52:57+00:00

Like in question, i don’t get what is the difference between using those classes.

  • 0

Like in question, i don’t get what is the difference between using those classes. What are advantages and limitations of each class. I read many tutorials, and still can’t decide what should i do.

To make things more clear, i got AudioModule, AudioEmitterComponent and AudioListenerComponent. (Our game’s eninge is based on component. When you create and object which is source of some sounds (monster or sth), i add emitter component.. and i got problems then. I can’t figure out how to do it best. First i wanted Audio Module to got List, the same for listeners (and also lists for wave and soundbanks). Now i got problem, not in coding itself (at the moment) but with the concept what, where, when, why. Any ideas are valuable 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:52:57+00:00Added an answer on May 21, 2026 at 3:52 am

    Think of SoundEffect as being the sound file. You can load these using content manager.

    And SoundEffectInstance as a program playing the sound file.

    SoundEffect has a Play method. This is just for convenience. What this does internally is create a SoundEffectInstance, play it, and then clean up when it finishes. (Known as “fire and forget”.)

    When using SoundEffectInstance (that you create with SoundEffect.CreateInstance) you need to manage all of that yourself – the advantage is that you can manipulate the properties of the sound (volume, etc) while the sound is playing. You can also loop the sound, stop or pause part way through, etc.

    When you finish with your SoundEffectInstance, don’t forget to Dispose() of it!

    Another thing you can do with SoundEffectInstance (which is entirely optional) is apply a 3D effect to it. This gives you an easy way to “place” the sound in 3D space. You apply the 3D effect using SoundEffectInstance.Apply3D (giving it a listener and an emitter that provide information about the camera and the sound source). The exact details of this are best left to the “Applying a 3D Positional Effect to a Sound” article on MSDN.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think questions like this are the reason why I don't like working with
Like the question says, if I have a request for a page on my
I know a question like this was already asked, but the situation is a
It's quite possible a question like this has been asked before, but I can't
You may think this question is like this question asked on StackOverflow earlier. But
The title speaks for itself... I've tried to find another question like it but
Sounds like a weird question, but say I have something like this: $.post( /myajax.php,
Just like Carl's question over here I would like to ask you (because I
This seems like a simple question, but I can't find it with the Stack
This seems like a silly question but I would really like your comments and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.