ramp

Smooth out beginning and ending portions of the audio signal; Apply the cosine square envelope

Syntax

y = ramp ( x,dur_ramp )
y = x.ramp ( dur_ramp )

Inputs

ArgumentTypeDescriptionUnit
xaudioaudio signalmillisecond
dur_rampscalarramping duration (i.e., duration to smooth out)-

Outputs / Return Value

Notes

Examples

tone(440,100).ramp(40)

See Also

Review Status