Use of formula in sound engineering

In summary: The A and B values alter the shape, length, and frequency of the wave graph. They also determine the amplitude (height) and the phase (time).
  • #1
Endorser
42
0

Homework Statement



I realize that that the Sin and Cos graphs give wave graphs so I figure it must be related to sound engineering. Can anyone explain how? & why? this is and if it haa any application


Homework Equations



A sin x + B cos x = K (sin x cos φ + cos x sin φ) = K sin(x+ φ).

The Attempt at a Solution



I have tried to compare it with other equation that I have but none relate

all help is good thanks
 
Physics news on Phys.org
  • #2
Yes the sin and cos functions are related to sound engineering. Look for Fourier Transformation. This transformation converts every function to a sum of sin and cos functions, where each sin and cos corresponds to a different frequency.
 
  • #3
Ur a Legend thanks m8

also...what would be a real life application for this function? and could you please give me an example of a transformation
 
  • #4
Endorser said:
Ur a Legend thanks m8

also...what would be a real life application for this function? and could you please give me an example of a transformation

If you own a hi-fi system, then the amplifier is the best example. It is not an easy task to give an example of a transformation. The main feature of the trigonometric functions is that they are orthogonal to each other. Note, that a trigonometric function has the form Sin (n*Pi*x) or Cos (n*Pi*x), where n is an integer number. These functions are orthogonal to each other. Therefore, you have a basis, and you can use these functions to express any other function (even if it is not periodic) or to solve a differential equation.

Thus, you write

f(x)=a_0+Sum (a_n Sin(n*Pi x)+b_n Cos(n*Pi x)), where n=1,2,3,... oo

In order to find the value of a_n and b_n you use the orthogonality property of these functions. You can truncate the above series at any number you like. But, the more terms you keep the better the accuracy would be.

The Fourier transformation is also used in the solution of the diffusion (or heat transfer) equation.
 
  • #5
MasterX said:
Sin (n*Pi*x) or Cos (n*Pi*x)

I realize trig has the sin n cos function and n is the value that we change to find the wave but what do the values *pi*x represent and how does my inital eqaution relatet to the difussion equation in the picture attached
 

Attachments

  • 555879f4d14726b7f55f0527dd0d3144.png
    555879f4d14726b7f55f0527dd0d3144.png
    1.1 KB · Views: 438
  • #6
Endorser said:
I realize trig has the sin n cos function and n is the value that we change to find the wave but what do the values *pi*x represent and how does my inital eqaution relatet to the difussion equation in the picture attached

Pi=3.14...
The product Pi*x is used for spatial variation.

See https://www.physicsforums.com/showthread.php?t=441075" for instruction on how to solve the diffusion equation. The Fourier series naturally appear as a solution
 
Last edited by a moderator:
  • #7
MasterX said:
The product Pi*x is used for spatial variation.

Spatial Variation is Changes in conditions over area.

what has this got to do with the equation and what sorts of values we put into pi*x is it frequency, magneticfield ect ect
 
  • #8
Pi*x and Pi*y define your domain!
I thought that you want to do a Fourier transformation to spatial variables. Of course, you can do a Fourier transformation (FT) to time, where now you have Pi*t. If you do a FT on time then the transformed variable is frequency.

You may read this two articles: http://en.wikipedia.org/wiki/Fourier_series" [Broken]
 
Last edited by a moderator:
  • #9
MasterX said:
Pi*x and Pi*y define your domain!\sum/wiki/Fourier_transform"]Fourier_transform[/URL]

Sorry but i am not to sure what the values such as [tex]\sum[/tex] I also looked at the forum relating how The Fourier series naturally appear as a solution but are unsure what the values represent.

Sorry but could you explain more about the Pi*x and Pi*y domains. I know pi = 3.14159265358979323846... so what do we put for x in pi(x), or y in pi(y) or t in pi(t).

does the x and y represent and location? vector?
and what value we insert for t?
 
Last edited:
  • #10
I do not really understand your question

The variables x (or y) are the independent variables, which denote the domain (or location, if you prefer)!
The variable t is the independent variable which denotes time
 
  • #11
MasterX said:
I do not really understand your question

I am thankful for your help, but I am new at all this stuff so it takes me a while to piece it all together.

now my main question is how A sin x + B cos x = K (sin x cos φ + cos x sin φ) = K sin(x+ φ) is used in sound engineering.

Now with the equation Asin(n*pi*t) + Bcos(n*pi*t)
n is the interger
pi = 3.14...
t = time ( but time of what...wave at a particular height? or time elapsed in the wave?)

know with the basic sine forumula the A and B alter the shape, length ect of graph.
So what do the A and B values do to this equation? and what purpose do they have.
 
  • #12
Ok, I see. I was carried away by your first question with regards to the use of trig function in sound engineering.

The equation that you have written simple states that the addition of two waves is a wave with a phase shift. Namely, if you have a sound from different sources, what you hear is one sound that is the combination of these two sounds. With the use of this equation, you can decompose this sound into each constituents.

Now, if you want to calculate the value of A and B (and you know the value of K and phi), you can use Fourier transformation. On the other hand, because this is a relative simple problem, you need to solve the following system of equations to compute the value of A and B (if you know K and phi) or compute the value of K and phi (if you know the value of A and B):

A=K cos(phi)
B=K sin(phi)
 
Last edited:
  • #13
MasterX said:
The equation that you have written simple states that the addition of two waves is a wave with a phase shift. the value of A and B (if you know K and phi) or compute the value of K and phi (if you know the value of A and B):

A=K cos(phi)
B=K sin(phi)

Thanks man...thats a lot easier for me and I understand it better now, so let me recap

A sin x + B cos x = K sin(x+ φ)

Therefor

A = Kcosφ
B = Ksinφ
K = sqrt(A^2 + B^2)
φ = cos^-1(A/K) or sin^1 (B/K)
Regarding the X value...would that be any value from 0 - 360? cause it is a wave?

also...am I correct in saying that (AsinX) is the wave from first source and (BcosX) is the wave from the second source?
 
  • #14
Yes

Usually x takes value in the range -Pi, Pi, but it is OK to use 0-2*Pi
I am using Pi and 180, because x is in radians and not degrees
 
  • #15
MasterX said:
x is in radians and not degrees

ohh ok..thats simple to do

thank you very much

just 1 last thing
I have to answer a few question based on this equation, am i correct in saying

explain why we might need such a formula?

To add waves from two different wave sources together

Describe a real application of this forumla

In this case it would be used if two speakers were used, this formula would combine both the waves of the sounds and show what would be heard.
 
  • #16
You first answer is OK.
In your second answer replace the speakers with "sound sources". But, then again, this is not an application.
I believe that any real application is a device that plays/records music (I am not into music production, I am just guessing). Because, when you listen to a CD, you hear different instruments playing at the same time. These are different waves combined to one wave. The quality of the device is determined by its efficiency to split this wave into each constituents.
 
  • #17
MasterX said:
different instruments playing at the same time. These are different waves combined to one wave.

Ahh ok... I see what you mean...I am no sound expert but it makes sence.

Thanks A hell of a lot m8...you are a great addition to physicsforums.com

thank you very much
 
  • #18
you are welcome
 

1. What is the importance of using formulas in sound engineering?

The use of formulas in sound engineering is crucial for achieving high quality and consistent results. Formulas help in understanding the relationship between different elements of sound such as frequency, amplitude, and wavelength, and how they affect the overall sound output. They also help in troubleshooting and finding solutions to sound issues.

2. How do engineers use formulas in sound engineering?

Engineers use formulas to calculate different parameters of sound, such as frequency, wavelength, and amplitude. They also use formulas to design and build different audio equipment, such as speakers and amplifiers, to ensure optimal performance. Additionally, formulas are used to analyze and improve sound quality in various settings, such as recording studios and concert venues.

3. Can formulas be used in all aspects of sound engineering?

Yes, formulas are used in all aspects of sound engineering, from designing and building audio equipment to troubleshooting and improving sound quality. They are also used in the production and post-production stages of music and film to achieve the desired sound effects and mix.

4. Are there specific formulas that are commonly used in sound engineering?

Yes, there are several commonly used formulas in sound engineering, such as the decibel formula for measuring sound intensity, the frequency formula for calculating the number of sound waves per second, and the wavelength formula for determining the distance between sound waves. There are also specialized formulas for different aspects of sound engineering, such as room acoustics and speaker design.

5. Do sound engineers need to have a strong understanding of mathematical concepts to use formulas?

While having a good understanding of mathematical concepts can be helpful in using formulas, it is not a prerequisite for sound engineering. Many audio engineers have a basic understanding of mathematical concepts, and they are still able to use formulas effectively. However, having a strong grasp of mathematical concepts can make it easier to understand and apply formulas in sound engineering.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
765
  • Calculus and Beyond Homework Help
Replies
1
Views
251
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
Replies
5
Views
759
  • Engineering and Comp Sci Homework Help
Replies
13
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
950
Back
Top