


peak - illustrates peak detection. peak( x, ta, tr, fp, fs ) x = input waveform ta = attack time constant (in seconds) tr = release time constant (in seconds) fp = frequency of value poll (in Hz) fs = sample rate (in samples/second) Defaults: peak( x, 0.01, 1.5, 15, 44100 ) References: DAFX pgs.83-85, musicdsp.org Analysis
