Tremolo does near-realtime pitch shifting to the incoming signal. The effect is achieved by speeding up or slowing down the delayTime of a DelayNode using a sawtooth wave. Algorithm found in this pdf. Additional reference by Miller Pucket.
See description on Tone.js