# Calculating degree of phase shift bewteen 2 sine waves!!

Discussion in 'Recording' started by aarongammon, Jan 29, 2004.

1. ### aarongammonGuest

Hi everyone, Im new here (so hopefully Im posting this in the right place/want to apologise in advance if Im not...)
I want to calculate the degree of phase shift between two sine waves of the same frequency. I have the following formula (but cant find the right symbols on my keyboard (!)):

degree of phase = time difference * frequency * 360

If time difference * frequency > 1, my answer = > 360. Should I omit whole numbers before multiplying by 360...?
(Im studying a degree in Recording Arts at the moment, and am aware of the implications of phase differences etc, so am sure the question is relevant to this sort of forum (!) (honest!!)

Many thanks. Aaron

2. ### aarongammonGuest

Think Ive figured it out!
(Bare with me...)

time difference * frequency = time difference / period

It makes sense to me to omit whole numbers after dividing the time difference by the period (to get the fraction of the cycle left), then multiply by 360 to get the degree of phase shift!!!

Does anyone think this is wrong?
Thanks again. Aaron

3. ### Steve HalkoGuest

Yes, you can either:

1. take just the fractional part of time diff/period, then multiply by 360, or

2. (time diff * freq * 360) modulo 360

Either way gives you the same answer.

Great!