View source: R/rhythm_ratios.R
rhythm_ratios | R Documentation |
Computes the rhythm ratios using the a table of IOI (output of compute_IOI). Onset intervals are defined as the time between the start of one note and the start of the subsequent note. Rhythm ratios are the ratios of adjacent onset intervals. https://doi-org.manchester.idm.oclc.org/10.1016/j.cub.2021.09.032
rhythm_ratios(ioi)
ioi: |
An ioi tibble containing the original sound file, start/end times of the note,the note position and note_label. |
: A vector of onset intervals
unit_table = tibble::tibble(start = c(0.37, 0.6, 1.2, 1.8), end = c(0.45, 0.7, 1.4, 2), pos = seq(1,4),sound.files = "JS001.wav" , note_label = "Curve")
ioi = compute_IOI(unit_table)
onset_intervals(ioi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.