Jump to content
  • Advertisement
EddieK

Dealing with large amount of sounds playing at the same time

Recommended Posts

Hello, I'm new to OpenAL and audio programming in general so I might not explain everything clearly, but bear with me.

Essentially I'm making a tower defense game where I have dozens of turrets shooting at approximately the same time and each shot makes a sound. So there are few problems/questions which I have:

1) While one turret is shooting the volume of the shot is low, but when dozens of them are shooting the sounds seem to add up and make everything too loud. Is there a way I can fix this?

2) When there are many turrets shooting, the music becomes quiet. And when they stop shooting I can hear the music gradually up in volume. Does OpenAL use some sort of compression? If so, how can I tweak it?

I tried making it so that there would be a max number of shot sounds at any given time, but sometimes you can see a turret shooting and it doesn't make any noise, which looks weird. 

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!