Skip to contents

taken N samples of two instruments (where they both have onsets)

Usage

sync_sample_paired(
  df = NULL,
  instr1 = NULL,
  instr2 = NULL,
  n = 0,
  bootn = NULL,
  beat = NULL,
  verbose = FALSE
)

Arguments

df

data frame to be processed (required)

instr1

Instrument 1 name to be processed (required)

instr2

Instrument 2 name to be processed (required)

n

Number of samples to be drawn from the pool of joint onsets. If 0, do not sample (default)

bootn

How many bootstraps are drawn (default none, which is 1)

beat

Beat structure (subdivisions) to be included

verbose

Display no. of shared onsets (default FALSE)

Value

List containing asynchronies and beat structures