Skip to contents

This is a conversion function that turns onsets into sampled time-series.

Usage

gaussify_onsets(data = NULL, sr = 500, wlen = 0.04, plot = FALSE, time = TRUE)

Arguments

data

Data frame to be processed with discrete time points (required)

sr

Sampling rate (default 500 Hz)

wlen

Window length of percentage of the sr (default 4)

plot

If a plot is needed (optional)

time

Time samples to be included in the output (optional)

Value

Output contain vector of onset times