Ok, I checked the extras in the reference pages. It looks as if it’s not what I’m after.
I’ll try to be more precise on what I’m trying to achieve:
I want notes to be classified. Some of the categories are rhythm categories, which are 1-Their position depending on time signature, For example, on a 4/4 time signature, pulses (beats) 1 and 3 are strong. I want to store a variable for that note saying “this note is on a strong pulse”.
Also I want to store for that note their position within that pulse (beat), say if they are on the downbeat (land) or the upbeat (air). (Arsis or tesis)
I’m interested on the algorithmically assigning variables depending on time signatures you commented.
I would later check how to create a class if needed.