Skip to contents

summarise_onsets is a function that summarises the time difference between successive onsets across instruments.

Usage

summarise_onsets(
  df = NULL,
  instr = NULL,
  filter_lower = 0,
  filter_upper = 2,
  binw = 0.25,
  plot = FALSE
)

Arguments

df

data frame to be processed (required)

instr

Instrument names to be processed (required)

filter_lower

Lower limit for onset differences to be summarised (default 0)

filter_upper

Upper limit for onset differences to be summarised (default 2)

binw

bin width for histogram (default 0.25)

plot

Option for plotting (defaul FALSE)

Value

Output contain summarises of the onset differences