expand

Reference > sinDamped

Wave
Spectrum

    

sinDamped(frequency, timeconstant, phase) Returns a function whose input is a time (in seconds) and whose output is a point on a damped sine wave. You can create a 440 Hz damped sine wave with a time constant of 100 ms using time.map(sinDamped(440, 0.1))

You can find the code for sinDamped in the synthesine library.