compute_IOI: compute_IOI

View source: R/compute_IOI.R

compute_IOIR Documentation

compute_IOI

Description

Takes a unit table and computes the inter-onset-intervals for a single sound file.

Usage

compute_IOI(unit_table)

Arguments

unit_table:

A unit table tibble containing the original sound file, start/end times of the note,the note position and note_label.

Value

: A dataframe containing the ID, recording and IOIs of the start and end notes, note classes and the order of the ratio in the recording.

Examples

 unit_table = tibble::tibble(start = c(0.37, 0.6, 1.2, 1.9), end = c(0.45, 0.7, 1.4, 2),
pos = seq(1,4),sound.files = "JS001.wav" , note_label = rep(c("A","B"),2))
compute_IOI(unit_table)

Anthony-Kwong/birdsong.tools documentation built on April 14, 2023, 9:50 a.m.