Module metrome::score

source ·
Expand description

This module contains structs that are related to the representation of a score.

Structs§

  • A struct containing a vector of durations
  • A Duration struct contains how long a note is in milliseconds and whether the beat is strong or weak.
  • A score contains a vector of bars, which in turn contains a vector of durations. A score represents rhythm as a collection of durations, which will later be used to write the click track.
  • A tempo represents how fast music is going and is often represented in terms of how many this kind of beats per minute. For example 140 quarter notes per minute.