Returns a Sound transformer which uses its argument
to modulate the phase of a (carrier) sine wave
of given frequency and duration with a given Sound.
Modulating with a low frequency Sound results in a vibrato effect.
Modulating with a Sound with frequencies comparable to
the sine wave frequency results in more complex wave forms.
Parameters
freq: number
the frequency of the sine wave to be modulated
duration: number
the duration of the output Sound
amount: number
the amount of modulation to apply to the carrier sine wave
Returns SoundTransformer
function which takes in a Sound and returns a Sound
Returns a Sound transformer which uses its argument to modulate the phase of a (carrier) sine wave of given frequency and duration with a given Sound. Modulating with a low frequency Sound results in a vibrato effect. Modulating with a Sound with frequencies comparable to the sine wave frequency results in more complex wave forms.