Learn R Programming

seewave (version 1.6.4)

pulse: Generate rectangle pulse

Description

This function generates a rectangle pulse.

Usage

pulse(dbefore, dpulse, dafter, f, plot = FALSE, output = "matrix", ...)

Arguments

Value

  • If plot is FALSE, a new wave is returned. The class of the returned object is set with the argument output.

See Also

synth, noisew

Examples

Run this code
pulse(dbefore=0.5,dpulse=0.1,dafter=0.3,f=8000,plot=TRUE)

Run the code above in your browser using DataLab