You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no need to provide the number of beats per bar as an input parameter of the function carat.features.feature_map(). This can be easily computed inside the function from the relation between the number of beats and the number of downbeats provided, as:
n_beats = int(round(beats.size/downbeats.size))
This is a simple fix. However, it changes the function signature and impacts into several parts of the code, in particular in some examples.
The text was updated successfully, but these errors were encountered:
There is no need to provide the number of beats per bar as an input parameter of the function carat.features.feature_map(). This can be easily computed inside the function from the relation between the number of beats and the number of downbeats provided, as:
n_beats = int(round(beats.size/downbeats.size))
This is a simple fix. However, it changes the function signature and impacts into several parts of the code, in particular in some examples.
The text was updated successfully, but these errors were encountered: