note_compare | R Documentation |
Takes a note from one unit table and compares it with the corresponding note found in another unit table.
note_compare(note, unit_table)
note |
: A unit table tibble containing the original sound file, start/end times of the note and the note class. |
unit_table |
: A tibble of notes containing the original sound file, start/end times of the note and the note class. |
A tibble with the sound file, the square difference in the intervals, a logical indicating whether a note match was found and the note class. If no match it found, the difference is the square interval length of the input note.
note = tibble(start = 0.35, end = 0.49, sound.files = "JS001.wav", pnote_label = "Curve")
unit_table = tibble(start = c(0.35, 0.55), end = c(0.49, 0.7), sound.files = "JS001.wav")
note_compare(note, unit_table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.