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 97471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:00:40+00:00 2026-05-11T00:00:40+00:00

I have two raw sound streams that I need to add together. For the

  • 0

I have two raw sound streams that I need to add together. For the purposes of this question, we can assume they are the same bitrate and bit depth (say 16 bit sample, 44.1khz sample rate).

Obviously if I just add them together I will overflow and underflow my 16 bit space. If I add them together and divide by two, then the volume of each is halved, which isn’t correct sonically – if two people are speaking in a room, their voices don’t become quieter by half, and a microphone can pick them both up without hitting the limiter.

  • So what’s the correct method to add these sounds together in my software mixer?
  • Am I wrong and the correct method is to lower the volume of each by half?
  • Do I need to add a compressor/limiter or some other processing stage to get the volume and mixing effect I’m trying for?

-Adam

  • 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. 2026-05-11T00:00:41+00:00Added an answer on May 11, 2026 at 12:00 am

    You should add them together, but clip the result to the allowable range to prevent over/underflow.

    In the event of the clipping occuring, you will introduce distortion into the audio, but that’s unavoidable. You can use your clipping code to ‘detect’ this condition and report it to the user/operator (equivalent of red ‘clip’ light on a mixer…)

    You could implement a more ‘proper’ compressor/limiter, but without knowing your exact application, it’s hard to say if it would be worth it.

    If you’re doing lots of audio processing, you might want to represent your audio levels as floating-point values, and only go back to the 16-bit space at the end of the process. High-end digital audio systems often work this way.

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

Sidebar

Related Questions

I need to write data into drive. I have two options: write raw sectors.(_write(handle,
I have two columns say Main and Sub . (they can be of same
I have two entities: User and Notice , they are linked together via the
Can anyone tell me why this is not working please? I have two registry
Right now I have two buttons. Each one needs to produce a different sound.
I have two questions. Question #1: What is the difference between HttpWebResponse.Cookies and WebResponse.Headers[Set-Cookie]?
I have two programs, sendfile.py and recvfile.py that are supposed to interact to send
If I have two tables as listed below, The first which shows the Raw
Help! I have two objects that i have created using different techniques in django;
I have created one native application in android that is working fine. This application

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.