View source: R/compute_oscores_dep.R
compute_oscores_dep | R Documentation |
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.
compute_oscores_dep(note, table)
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. |
A numeric vector containing the 3 overlap scores.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.