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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:25:21+00:00 2026-06-15T09:25:21+00:00

is it possible that a calculation with sqrt() has affect to the ouput gain?

  • 0

is it possible that a calculation with “sqrt()” has affect to the ouput gain?
Here’s is my Code: (MS Tool with Panorama adjustment)

//Code...precalculations above

(*out1++) = (mid+side) * dGain * sqrt(dOne - dPan); //sqrt for pan law
(*out2++) = (mid-side) * dGain * sqrt(dOne); 

Input/Output Gain is quiet a little different in this case.
Any advice?

Thanks

  • 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-06-15T09:25:22+00:00Added an answer on June 15, 2026 at 9:25 am

    I’m just guessing here, but it seems that your algorithm is attempting to apply stereo panning laws to the left/right channels. In that case, I don’t think that the calculation is being done correctly. This link (also posted in a comment) might be useful:

    http://www.kvraudio.com/forum/viewtopic.php?p=4264576

    If my suspicions are correct, then you are not applying the correct amount of gain compensation to the signal, which is why it’s probably not sounding as you expect.

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

Sidebar

Related Questions

It's possible that I'm not really understanding how git works here, but I have
Is it possible that I reserve a asp.net code in db and load it
Possible Duplicate: Mysterious calculation error when multiply by 100 Here is a strange problem
I need a report that has some data in it with calculation data among
Is it possible that when calling multiple times this function: void Func(String spr, PictureBox
Is it possible that there are more than one certificate chain built during the
It is quite possible that I'm just looking for help finding the name of
Is it possible that when you have a webpage, when you open the PDF,
It is quite possible that I may not have got the point, but I
is it possible that my mingw 3.4.5 installation is faulty? or is this provided

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.