get_melody_features: For a db of melodies, get melodic features

View source: R/get_melody_features.R

get_melody_featuresR Documentation

For a db of melodies, get melodic features

Description

For a db of melodies, get melodic features

Usage

get_melody_features(
  df,
  mel_sep = ",",
  durationMeasures = TRUE,
  abs_melody_name = "abs_melody",
  print_histogram = FALSE
)

Arguments

df

with column "melody" as a relative melody e.g, 2, 2, -1, 3 and "freq" a count of the number of occurrences of the dataset from which it came

mel_sep

What is the melody note separator?

durationMeasures

Should duration measures be computed?

print_histogram

Print histogram of results?


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