Alter phase of sinusoid by milliseconds

Alter phase of sine by ms

This example shows how you can alter the phase of a wave by milliseconds using delay~. The object mstosamps~ converts milliseconds to samples which then are smoothed by line~ to avoid clicks. (See MSP Basics Tutorial 2 for an example and explanation of linear interpolation using line~.)