Re: [LAD] Determining Phase

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Sat Jun 25 2011 - 22:49:39 EEST

On Sat, Jun 25, 2011 at 01:55:05PM -0500, Gabriel M. Beddingfield wrote:
 
> Do you mean... for a very simple sine wave?
>
> Assuming yes:
>
> p = asin( x / A )
>
> Where:
>
> A is the amplitude of the sine wave
> x is the value of the sample (-A <= x <= A)
> p is the phase of the wave in radians (-pi/2 <= p <= pi/2)

And what if the phase is < -pi/2 or > +pi/2 ?

-- 
FA
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Jun 26 00:15:04 2011

This archive was generated by hypermail 2.1.8 : Sun Jun 26 2011 - 00:15:05 EEST