musicaiz.features.get_labeled_beat_vector¶
- musicaiz.features.get_labeled_beat_vector(iois: List[float]) List[int] [source]¶
Convert IOI to the labeled beat vector (or IOI’)
- Example:
IOI = [0.5, 0.375, 0.125] IOI’ = [4, 4, 4, 4, 3, 3, 3, 1] eq(2) paper
- Parameters
- iois: List[float]
the IOIs which is a vector of IOI values in seconds (floats).
- Returns
- labeled_beat_vector: List[int]
the IOI’ vector that contains the beats and its values.