compute_oscores_dep: compute_oscores_dep

Description Usage Arguments Value Examples

View source: R/compute_oscores_dep.R

Description

Dependency function for compute_oscores. Takes a note and matches it with a note in a table with the most overlap. Computes the overlap scores between the two notes.

Usage

1

Arguments

note

: 2-dimensional numeric vector.

table

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

Value

A numeric vector containing the 3 overlap scores.

Examples

1
2
3
table1 = tibble::tibble(start = c(0.30, 0.55, 1.5, 2.5), end = c(0.51, 0.7, 2.2, 3), 
sound.files = "JS001.wav", pos =c(1,2,3,4), note_label = "Curve")
note = c(0.4,0.54)

deponent-verb/birdsong.tools documentation built on Dec. 19, 2021, 10:12 p.m.