help: new sine with shifted phase expression

GoldWave general discussions and community help
Post Reply
ragv
Posts: 2
Joined: Thu Dec 28, 2017 5:24 pm

help: new sine with shifted phase expression

Post by ragv »

This expression: sin(2*pi*f*t), I want it to create a sine with a few degrees shifted phase. It might take a long time till I figure it out myself.
DougDbug
Posts: 2172
Joined: Wed Feb 16, 2005 3:33 pm
Location: Silicon Valley

Re: help: new sine with shifted phase expression

Post by DougDbug »

It took me a couple of minutes, but here you go:

t is time in seconds so for example, at 1kHz 360 degrees is 0.001 seconds or 0.00025 is a 90 degree shift:
sin(2*pi*f*(t+0.00025))

Or in terms of frequency, time = (angle/360)/f

Finally, using the User Constant x for angle we get :
sin(2*pi*f*(t+(x/360)/f))
Post Reply