segment_phrase: Segment a note track by adding phrasend and phrasbeg columns...

View source: R/create_phrases_item_bank.R

segment_phraseR Documentation

Segment a note track by adding phrasend and phrasbeg columns with boolean markers.

Description

Segment a note track by adding phrasend and phrasbeg columns with boolean markers.

Usage

segment_phrase(
  note_track,
  phrase_segment_outlier_threshold = 0.65,
  ioi_threshold = 0.96,
  as_string_df = TRUE
)

Arguments

note_track

a data frame with an "onset" column

phrase_segment_outlier_threshold

A threshold for selecting outliers for durations in phrase segmentation.

ioi_threshold

A threshold for selecting outliers for iois in phrase segmentation.

as_string_df

Should the format of the DF be a string DF?


sebsilas/itembankr documentation built on July 16, 2025, 10:18 p.m.