Skip to contents

This function takes a midi matrix and returns the rounded mean of the sum of rows. Note that the round function is used to round to the nearest whole number.

Usage

get_mean_note_density(midi_matrix)

Arguments

midi_matrix

A numerical matrix where the of rows represents the MIDI notes, and the sum of each row represents the note density.

Value

A rounded integer that represents the mean note density.